This repository has been archived by the owner on Sep 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 146
Type extensions not working #208
Comments
yes, same experience here |
Closed
A possible workaround from @benjamin-rood
|
Workaround: Use Which you can then pass back into pseudocode:
|
This should be fixed now (by #418) Please reopen if you're still having problems with this. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you have a schema definition that includes type extensions, e.g.
makeAugmentedSchema
will fail with an error "Cannot extend type "Query" because it does not exist in the existing schema." (looks likeextractTypeMapFromTypeDefs
replaces the initial type definition since the second one has the same name).makeExecutableSchema
of graphql-tools will build a schema that includes the type extensions.augmentSchema
will ignore those type extensions and the resulting schema will only include the base type. (looks likeextractTypeMapFromSchema
takes astNode but ignores the extensionASTNodes array of GraphQLObjectType).The text was updated successfully, but these errors were encountered: