forked from ardatan/graphql-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for all graphql-rate-limit options (ardatan#2276)
* Add store support on rate limiter * Allow passing all rate limit config options to graphql-rate-limit * Add to the notes in the readme to explain that other props are available * Export graphql-rate-limit types * Add comment to explain that we are passing through all available options * Update packages/plugins/rate-limiter/src/index.ts Join the two types Co-authored-by: Valentin Cocaud <v.cocaud@gmail.com> * Spread in options since options are now at the root level. * Add changeset * Update readme to reflect recent change --------- Co-authored-by: Valentin Cocaud <v.cocaud@gmail.com>
- Loading branch information
1 parent
e77fc83
commit ba368ba
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@envelop/rate-limiter': patch | ||
--- | ||
|
||
useRateLimiter will now accept all options available to graphql-rate-limit getGraphQLRateLimiter | ||
function so that they are usable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters