docs: fix streaming subscription example (close #9241)

GITHUB_PR_NUMBER: 9242
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9242

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6984
Co-authored-by: Jeff Lambert <11539524+jflambert@users.noreply.github.com>
GitOrigin-RevId: ed0965a016e3957ecc91184595478741e1cc7b25
This commit is contained in:
hasura-bot 2022-11-24 20:01:48 +05:30
parent a0dc296ede
commit 0df52d8497

View File

@ -70,7 +70,7 @@ and the following messages need to be streamed:
"created_at": "2020-01-01 01:01:20"
},
{
"id": 432432,
"id": 432434,
"from": {
"first_name": "Cindy"
},
@ -78,10 +78,10 @@ and the following messages need to be streamed:
"first_name": "Michael"
},
"content": "I'm good! What about you?",
"created_at": "2020-01-01 01:00:00"
"created_at": "2020-01-01 01:01:40"
},
{
"id": 432433,
"id": 432435,
"from": {
"first_name": "Michael"
},
@ -89,7 +89,7 @@ and the following messages need to be streamed:
"first_name": "Cindy"
},
"content": "All good here too! Thanks",
"created_at": "2020-01-01 01:01:20"
"created_at": "2020-01-01 01:02:00"
}
]
```
@ -154,7 +154,7 @@ greatest value of the cursor column sent in the previous response.
"data": {
"messages_stream": [
{
"id": 432432,
"id": 432434,
"from": {
"first_name": "Cindy"
},
@ -162,10 +162,10 @@ greatest value of the cursor column sent in the previous response.
"first_name": "Michael"
},
"content": "I'm good! What about you?",
"created_at": "2020-01-01 01:00:00"
"created_at": "2020-01-01 01:01:40"
},
{
"id": 432433,
"id": 432435,
"from": {
"first_name": "Michael"
},
@ -173,7 +173,7 @@ greatest value of the cursor column sent in the previous response.
"first_name": "Cindy"
},
"content": "All good here too! Thanks",
"created_at": "2020-01-01 01:01:20"
"created_at": "2020-01-01 01:02:00"
}
]
}