dgraph-io / dgraph-docs

A native GraphQL Database with a graph backend
https://dgraph.io/docs
Other
35 stars 66 forks source link

GraphQL tutorial uses __type() without defining it #564

Closed damonfeldman closed 3 months ago

damonfeldman commented 1 year ago

Modify this page https://dgraph.io/tour/graphqlbasic/3/

to say that type() is an automatically generated field of the required Type type, per the GraphQL spec.

Extend this text

"The GraphQL schema tells us how to interpret every field. Run the example introspection query and have a look at the JSON result."

to

"The GraphQL schema includes introspection fields and parameters including a Type type with a type() root-level field. Run the example introspection query and have a look at the JSON result."

If possible, make "introspection fields and parameters' hyperlink to https://graphql-ruby.org/schema/introspection .

github-actions[bot] commented 3 months ago

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.