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
{{ message }}
Repository navigation
Support type extensions (e.g. "extends type Query", etc.) #406
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
graphql-java#406 added extend type XXX {} support
graphql-java#406 readme updates for type extensions
graphql-java#406 - PR clean code fix ups
Merge pull request #408 from bbakerman/406-extend-type-support-in-idl
bbakerman commentedon May 8, 2017
This is now in master and will be released in 3.0
Merge remote-tracking branch 'upstream/master'