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

configurationVisitor.handleMissingPath: could not plan a field Mutation.__typename on a path mutation.__typename #623

Open
cs-clarence opened this issue Sep 28, 2023 · 1 comment
Labels
internally-reviewed Internally reviewed

Comments

@cs-clarence
Copy link

cs-clarence commented Sep 28, 2023

Mutations with __typename fails. I am using cosmo router but I posted it here because it looks like the underlying error is in graphql-go-tools
It seems that cosmo router doesn't support this kind of mutation:

mutation M {  
  __typename # mutations with this causes the error
  CreateUser() {
    __typename
    # skip
  }
}

In playground:
image

__typename on root query node works fine:
image

@StarpTech StarpTech added the internally-reviewed Internally reviewed label Mar 11, 2024
@vikstrous2
Copy link

vikstrous2 commented Apr 3, 2024

I ran into the same issue with

query Q {
  __typename
}

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

No branches or pull requests

3 participants