Skip to content

Implement schema extensions in mergeSchemas#481

Merged
dotansimha merged 1 commit intomasterfrom
support-extensions
Mar 8, 2020
Merged

Implement schema extensions in mergeSchemas#481
dotansimha merged 1 commit intomasterfrom
support-extensions

Conversation

@dotansimha
Copy link
Copy Markdown
Collaborator

This PR adds support for extensions object for storing metadata on types.
It's currently supported on in mergeSchemas because we can't represent extensions in DocumentNode or any other AST object.

So in order to keep extensions on the schemas while merging it, it's required to use mergeSchemas and pass GraphQLSchema object as input.

@ardatan ardatan requested review from ardatan and removed request for ardatan March 4, 2020 23:38
@dotansimha dotansimha merged commit 8770f7a into master Mar 8, 2020
@dotansimha dotansimha deleted the support-extensions branch March 8, 2020 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant