-
Notifications
You must be signed in to change notification settings - Fork 396
Tutorial book-details is not working #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Stephan, Like you I was playing with the book-details tutoriaal and encountered similar issue too. At first I thought the http:/localhost:8080/graphql endpoint comes with the GraphiQL UI, it doesn't seem like that is the case. That endpoint is purely a GraphQL API. So, you'll need to download GraphQL Playground and enter the http:/localhost:8080/graphql endpoint when asked. It works a treat! The tutorial does provide the information. For some reasons, I missed it. Hope this helps. Cheers |
Gosh, thanks. I was pretty sure I tried this out. Obviously I didn't ... But where does the schema and doc come from that GraphQL Playground is able to display? |
I'm new to GraphQL too. Good question. So, I did a bit of digging too. Thanks to the benefit of GraphQL's Type System. We can actually ask the GraphQL schema for information about the queries it supports via introspection query. See https://graphql.org/learn/introspection/ for further details. I tried the introspect query and it does work. Here is the example introspect query string: |
Ah thanks a lot. I completely misinterprete the tutorial with that |
I was confused too. |
Postman has GrapghQL now. |
Hi there,
I'm playing with https://github.com/graphql-java/tutorials/tree/master/book-details but there's something broken:
It starts but does not provide the schema on http://localhost:8080/graphql instead it answers
Might you fix this? Or am I doing something wrong? I only cloned and started.
Kind regards
Stephan
The text was updated successfully, but these errors were encountered: