]> juplo.de Git - demos/kafka/chat/commitdiff
feat: Refined pact between `UserService` and `ChatBackendController` pacts
authorKai Moritz <kai@juplo.de>
Tue, 14 Oct 2025 21:14:14 +0000 (23:14 +0200)
committerKai Moritz <kai@juplo.de>
Tue, 14 Oct 2025 21:14:14 +0000 (23:14 +0200)
* Added subscriptions to the expected data of an existing `User`.

UserService-ChatBackendController.json

index f1bd48801248d2d7d6bf886f9d8c1137130f4e93..da81944eedcce5140b5ce7d8ac6213ce0386c2d3 100644 (file)
         "body": {
           "content": {
             "id": "5c73531c-6fc4-426c-adcb-afc5c140a0f7",
-            "shard": 2
+            "shard": 2,
+            "subscriptions": {
+              "chatroom": {
+                "id": "5c73531c-6fc4-426c-adcb-afc5c140a0f7",
+                "name": "FOO",
+                "shard": 2
+              },
+              "nickname": "Peter"
+            }
           },
           "contentType": "application/json",
           "encoded": false