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 tried to reproduce this exact example in the latest version, but couldn't. Both queries { field } and { field(arg: 42) } don't get any linter errors and execute fine. Closing this as the issue seems to have been fixed at some point in the past.
Here's the ticket for the new spec: graphql/graphql-spec#418
It allows the schema to be defined like this:
For the example above, if you don't provide
arg
in the query, graphiql will consider the query invalid.The text was updated successfully, but these errors were encountered: