release-1782317638369
📦 graphql-yogaView on GitHub →
✨ 2 features🔧 4 symbols
Summary
The @envelop/rate-limiter package introduces template string support for field identifiers and enhances the per-field identifyFn to receive argument values.
✨ New Features
- Field config in rate limiter now accepts an 'identifier' template string as a lightweight alternative to 'identifyFn', supporting {args.argName} and {context.propName} interpolation.
- The per-field 'identifyFn' on 'ConfigByField' now receives resolved argument values as a second parameter, simplifying rate limiting based on argument values.