You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most GQL APIs have nested objects and I'm puzzled by how to build these queries.
Here is an example of getting trying to get Pull Requests from the Github API:
But this generates a string like "{ pullRequests (first: 10,headRefName: \"master\",state: [OPEN]) { \n \ttotalCount\n } \n repository (owner: \"foobar\",name: \"baz\") { \n } \n }"
Which is clearly incorrect. I tried without the returns for the upper query, but it's a required field
The text was updated successfully, but these errors were encountered:
Most GQL APIs have nested objects and I'm puzzled by how to build these queries.
Here is an example of getting trying to get Pull Requests from the Github API:
But this generates a string like
"{ pullRequests (first: 10,headRefName: \"master\",state: [OPEN]) { \n \ttotalCount\n } \n repository (owner: \"foobar\",name: \"baz\") { \n } \n }"
Which is clearly incorrect. I tried without the
returns
for the upper query, but it's a required fieldThe text was updated successfully, but these errors were encountered: