Skip to content

Default Root Types for IDL #457

Closed
Closed

Description

@andimarek

It is allowed to omit

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

  1. andimarek commented on May 24, 2017

    @andimarek
    MemberAuthor

    Your thoughts @bbakerman?

  2. bbakerman commented on May 27, 2017

    @bbakerman
    Member

    Fair enough lets do it. Its easy enough. Have to do it on schema gen and de compile

  3. andimarek commented on May 28, 2017

    @andimarek
    MemberAuthor

    @bbakerman we must also do it on the SchemaPrinter: only emit schema ... if the root types are not named Query etc

  4. self-assigned this
    on May 28, 2017
  5. added 2 commits that reference this issue on May 28, 2017
  6. added this to the milestone on Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions