ardatan / ardatan/graphql-tools
resolvers-composition: do not mutate resolvers
Open
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 830
- Avg merge
- 10h 59m
- Merged PRs (30d)
- 45
Description
Currently, `composeResolvers` mutates the `resolvers` argument. I am requesting that this behaviour be changed in a future major version, or add a setting so it can be set to not mutate.
Contributor guide
Research direction
Start by locating the composeResolvers implementation and its existing tests, then trace where the resolvers argument is mutated. Clarify whether the intended outcome is a non-mutating default in a future major version or an opt-in setting; done should include tests proving the selected behavior without breaking existing composition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100