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
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:
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:
graphql-java-spring-example/src/main/java/graphql/RepositorySchema.java
Line 32 in 5dcf533
I'll make you a PR unless you have a different opinion on the issue.
The text was updated successfully, but these errors were encountered: