Hi all, I'm trying to create a paginated GraphQL query so I can step through each record set to help QA/Proof read some data we are storing in a GraphQL CMS (GraphCMS.com).
When I add the variable to the GraphQL query I am getting an error. I have tried several ways to do this.
After you add in some $input variables to the query it will show the variables section in the UI (we're working on cleaning up that experience, it is a bit confusing at the moment). Here's an example of my GraphQL running with variables for pagination:
Would something like this screenshot work for you? The variable can point to the dynamic value surrounding by double curly braces.
After you add in some $input variables to the query it will show the variables section in the UI (we're working on cleaning up that experience, it is a bit confusing at the moment). That would look something like this:
I also encountered this problem. There were no errors in the query - the variables were declared correctly, but the UI was blocked. The code was copypasted.
And problem was solved when I manually rewrote the query. ¯_(ツ)_/¯