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

Detect query/mutation/subscription roots from schema #62

Open
dush opened this issue Sep 5, 2022 · 0 comments
Open

Detect query/mutation/subscription roots from schema #62

dush opened this issue Sep 5, 2022 · 0 comments

Comments

@dush
Copy link

dush commented Sep 5, 2022

I have schema that defines query,mutation and subscription root type names in schema file and does not use default names

schema {
  query: query_root
  mutation: mutation_root
  subscription: subscription_root
}
type mutation_root {...}

type query_root {...}

type subscription_root {...}

But they are not recognized by gql-generator, because it's regexes does not match those names.

Example from GraphQL spec https://spec.graphql.org/October2021/#example-e2969

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

No branches or pull requests

1 participant