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
Fix ambiguity around when schema definition may be omitted (#3839)
This PR implements the tests and fixes necessary for [Spec RFC
#987](graphql/graphql-spec#987).
This PR is made of three main commits:
1. Test printing a schema that has `Query`, `Mutation` and `Virus`
types, but only supports `query` operations (via the `Query` type) and
does _not_ support `mutation` operations.
2. Test parsing this same schema text, and assert that the schema does
not have a mutation type.
3. Fix the printing of the schema.
Co-authored-by: Lee Byron <[email protected]>
0 commit comments