Auth plugin should make it easier to use the same scope with different arguments on a single field
Open
enhancement
needs-api-design
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 184
- Avg merge
- 4h 25m
- Merged PRs (30d)
- 137
Description
Some options for this:
* $all and $any could accept arrays
* Could add $some and $every that takes an array of values for a scop
* add some helper that gets spread into a scope object
Contributor guide
Research direction
Start by reviewing the auth plugin's current scope handling and how scopes are applied to a single field. Compare the proposed $all/$any arrays, new $some/$every helpers, and scope-spreading helper, then define the desired API and its behavior for repeated scopes with different arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100