Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utils): make extend schema plugin more powerful #480

Merged
merged 3 commits into from Jun 29, 2019

Conversation

benjie
Copy link
Member

@benjie benjie commented Jun 29, 2019

Adds support for makeExtendSchemaPlugin defining unions and directives required for Apollo Federation support.

Does not have tests.

HIGHLY EXPERIMENTAL.

Note: don't get excited, this does not improve support for unions, it just allows you to express them via SDL rather than having to write them out manually. The same "root and leaves only" union rule applies to unions - you can't have unions in the middle of the tree because our query planner still doesn't understand them in that position.

@benjie benjie merged commit e73506b into master Jun 29, 2019
@benjie benjie deleted the more-powerful-make-extend-schema-plugin branch June 29, 2019 12:40
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.

None yet

1 participant