Replies: 1 comment
-
Are you including the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
GraphQL static web app API always only return 2 items. It works locally, it always return all the item.
However, when query from production CosmosDB, it only returns two items with has nextPage. Is there any reason for this and is there any setting that i'm missing?
U attached my test url here. No important data. they are just for debugging
https://polite-pond-09325b91e.6.azurestaticapps.net/
{
"data": {
"engagements": {
"endCursor": "W3sidG9rZW4iOm51bGwsInJhbmdlIjp7Im1pbiI6IjA3RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGIiwibWF4IjoiMEZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkUifX1d",
"hasNextPage": true,
"items": [
{
"endDate": "2028-12-31",
"id": "b3cb46f1-67b4-4a82-aab3-5d309d2f2c2d",
"name": "Engagement ww",
"programName": "Program test test 2",
"startDate": "2023-05-01",
"status": "Approved",
"__typename": "Engagement"
},
{
"endDate": "2024-12-31",
"id": "ca2142f1-73f8-4fa5-8cb1-cc22dffda9d2",
"name": "Engagement 3",
"programName": "Program 3",
"startDate": "2023-01-01",
"status": "Rejected",
"__typename": "Engagement"
}
],
"__typename": "EngagementConnection"
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions