graphql-tools
graphql-tools copied to clipboard
requireResolversToMatchSchema: 'warn' throws an error
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 generatein the terminal.Please make sure the GraphQL Tools package versions under
package.jsonmatches 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
Currently when I use requireResolversToMatchSchema: 'warn' in makeExecutableSchema, an error is thrown.
To Reproduce Steps to reproduce the behavior:
See failing test in https://github.com/ardatan/graphql-tools/pull/5775.
Expected behavior
makeExecutableSchema should run and output warnings.
Environment:
- OS:
@graphql-tools/schema:- NodeJS: 20.9
Additional context