Skip to content

Support type extensions (e.g. "extends type Query", etc.) #406

Closed

Description

@kaseyreed

Use Case

For large schemas, being able to extend top level types like Query and Mutation would be nice to have so as to modularize schemas for large projects.

Current State

It is currently possible to extend a type once like so:

type Query {
   aField: AType
}

# potentially in another file
extend type Query {
   bField(someArg: SomeType): SomeDomainSpecificType
}

Attempting to add one more extend type results in an error.

Desired State

It would be preferable if the library supported any number of type extensions. This will enable applications with medium / large schemas to separate their types by domain and use-case.

Activity

  1. added 4 commits that reference this issue on May 5, 2017
  2. added this to the 3.0.0 milestone on May 8, 2017
  3. bbakerman commented on May 8, 2017

    @bbakerman
    Member

    This is now in master and will be released in 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions