ravangen/graphql-rate-limit

Question: How are the rate limits applied?

adavis opened this issue · 2 comments

How are the rate limits applied?

Are the rate limits applied per authenticated user or per IP address?

Thanks.

Depends on the keyGenerator. By default, it is just the schema coordinates as this library doesn't make any assumptions about the server/context it is running under. See the context example on limiting per ip.

Ok, thanks!