It is allowed to omit ```graphql schema { ... } ``` if the Root Types are called `Query` and `Mutation` See https://github.com/facebook/graphql/pull/90/files#diff-fe406b08746616e2f5f00909488cce66R1000 This is currently not supported.
Activity
andimarek commentedon May 24, 2017
Your thoughts @bbakerman?
bbakerman commentedon May 27, 2017
Fair enough lets do it. Its easy enough. Have to do it on schema gen and de compile
andimarek commentedon May 28, 2017
@bbakerman we must also do it on the
SchemaPrinter: only emitschema ...if the root types are not namedQueryetcgraphql-java#457 - support for implicit schema when types are named `…
#457 - support for implicit schema when types are named `Query`
Merge remote-tracking branch 'upstream/master'