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

Update graphql-tools monorepo #587

Merged
merged 1 commit into from Jun 15, 2020
Merged

Conversation

ardatan
Copy link
Owner

@ardatan ardatan commented Jun 15, 2020

No description provided.

@github-actions github-actions bot merged commit 1c49e1b into master Jun 15, 2020
@ardatan ardatan deleted the Update-graphql-tools branch June 15, 2020 16:26
@theguild-bot
Copy link
Collaborator

The latest changes of this PR are available as alpha in npm: 0.2.11-alpha-379d90fe.0

Quickly update your package.json by running:

npx match-version @graphql-mesh 0.2.11-alpha-379d90fe.0

@rufman
Copy link
Contributor

rufman commented Jun 19, 2020

I'm getting the error Unable to serve mesh: Unable to merge GraphQL type "Query": asNext is not iterable when there are multiple sources defined in the mesh.yaml.

It seems like when trying to merge directives, it fails because it's undefined (on the node).

I'm still trying to understand exactly how all of this works, is there any context here that would be helpful in finding out what's going on?

@rufman
Copy link
Contributor

rufman commented Jun 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants