Open
Description
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
- 1. The issue provides a reproduction available on
Github,
Stackblitz
or
CodeSandbox
Make sure to fork this template and run
yarn generate
in the terminal.Please make sure Mesh package versions under
package.json
matches yours.
- 2. A failing test has been provided
- 3. A local solution has been provided
- 4. A pull request is pending review
Describe the bug
Filtering out all mutations causes the schema to break.
eg.
transforms:
- filterSchema:
mode: wrap
filters:
- Mutation.!{*}
The playground shows the error message
{
"errors": [
{
"message": "Type Mutation must define one or more fields."
}
]
}
To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
- OS:
@graphql-mesh/...
:- NodeJS:
Additional context
Metadata
Metadata
Assignees
Labels
No labels