ravangen / graphql-rate-limit

🚦 Fixed window rate limiting middleware for GraphQL. Use to limit repeated requests to queries and mutations.
https://www.npmjs.com/package/graphql-rate-limit-directive
MIT License
317 stars 12 forks source link

README: Add clause for peer dependencies install #366

Closed glensc closed 1 year ago

glensc commented 1 year ago

Without installing peer dependencies, you get errors that modules can't be located.

Error: Cannot find module '@graphql-tools/utils'
Error: Cannot find module 'rate-limiter-flexible'