ardatan / ardatan/graphql-tools
I set requireResolversForResolveType: 'ignore', then get this warning Type "QueryResponse" is missing a "__resolveType" resolver.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 830
- Avg merge
- 10h 59m
- Merged PRs (30d)
- 45
Description
**Describe the bug**
**To Reproduce**
I set requireResolversForResolveType: 'ignore', then get this warning Type "QueryResponse" is missing a "__resolveType" resolver.

**Expected behavior**
**Environment:**
- OS: mac os 12.2.1
- `@graphql-tools/schema`: 8.3.2
- NodeJS: 13
**Additional context**
Contributor guide
Research direction
Start at the @graphql-tools/schema entry point and trace handling of requireResolversForResolveType using the reported configuration and environment. Reproduce the warning for QueryResponse; done means the 'ignore' setting no longer emits the missing __resolveType warning, with a regression test covering that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100