Discrepancy in schema between GraphQL Explorer and api.github.com/graphql #24432
-
Repro:
Query:
Variables:
Verify you get a response like the following:
If you open Chrome dev tools and “copy as cURL” the request, you’ll find it returns the same on the command line.
(Replace “$TOKEN” with your personal access token.) Verify you get a response like the following:
Note that this is a different question from https://github.community/t5/GitHub-API-Development-and/GraphQL-v4-differences-in-responses-between-Explorer-and-Curl/m-p/14684#M279. There, the response value was different, but here, the response schema is different. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Explorer is provided for quick experimentation and is not meant to be authoritative. If you want to avoid these kinds of mismatches in the future, I would recommend using GraphiQL mentioned in the GraphQL Guides. I hope that helps! |
Beta Was this translation helpful? Give feedback.
The Explorer is provided for quick experimentation and is not meant to be authoritative. If you want to avoid these kinds of mismatches in the future, I would recommend using GraphiQL mentioned in the GraphQL Guides.
I hope that helps!