-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hey Oded!
You have provided a really nice and useful example. Thank you for that!
However, I think you have an error in the RepositorySchema class. When doing a normal query (not introspection), we need to return the data under the a field called "data", just like we do in the Introspection case. See response examples at https://graphql.org/learn/queries/
This is the line that outputs the data without the data field:
| returnData = graphQL.execute(queryString,query).getData(); |
I'll make you a PR unless you have a different opinion on the issue.
Metadata
Metadata
Assignees
Labels
No labels