We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Progress of the issue based on the Contributor Workflow
Make sure to fork this template and run yarn generate in the terminal. Please make sure the GraphQL Tools package versions under package.json matches yours.
Make sure to fork this template and run yarn generate in the terminal.
yarn generate
Please make sure the GraphQL Tools package versions under package.json matches yours.
package.json
Describe the bug
Given the following schema:
schema { query: Query mutation: Mutation subscription: Subscription } type Query { foo: Boolean }
pruneSchema should remove the mutation and subscription from the root schema object:
pruneSchema
schema { query: Query } type Query { foo: Boolean }
To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
@graphql-tools/...
Additional context
The text was updated successfully, but these errors were encountered:
After some more testing, I found it was printSchemaWithDirectives that was adding the subscription.
printSchemaWithDirectives
Sorry, something went wrong.
No branches or pull requests
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
Given the following schema:
pruneSchema
should remove the mutation and subscription from the root schema object:To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
@graphql-tools/...
:Additional context
The text was updated successfully, but these errors were encountered: