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

Unable to merge GraphQL type "Query" with multiple sources #608

Closed
rufman opened this issue Jun 23, 2020 · 2 comments
Closed

Unable to merge GraphQL type "Query" with multiple sources #608

rufman opened this issue Jun 23, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@rufman
Copy link
Contributor

rufman commented Jun 23, 2020

When there are multiple sources defined in the mesh.yaml, you get an error deep inside graphql-tools, when it tries to merge schema directives.

This is because graphql-compose creates nodes with directives as undefined (which is valid). Fix for graphql-tools is here: ardatan/graphql-tools#1671

@rufman
Copy link
Contributor Author

rufman commented Jun 23, 2020

The repo for this is to add a second source to any of the examples.

@ardatan ardatan added the bug Something isn't working label Jun 25, 2020
@ardatan
Copy link
Owner

ardatan commented Jul 22, 2020

Available in v0.2.14!

@ardatan ardatan closed this as completed Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants