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
I don't know if this is the right behavior or not, but the line graphql_type = "Root" errors with the "Could not find a type named Root in the schema" error
What does your schema look like? Is the root query type named Root? It is in the star wars schema that is used by that example, but I suspect it's not in the schema you are using. It's commonly called Query but it can have any name.
If you change graphql_type = "Root" to name the correct type then it will probably work.
I don't know if this is the right behavior or not, but the line
graphql_type = "Root"
errors with the "Could not find a type namedRoot
in the schema" errorIf I understand it correctly, it should work because it was written like it in the docs:
The text was updated successfully, but these errors were encountered: