Log in
Model

BackpressureFieldValidator

Magento\GraphQl\Model\Backpressure\BackpressureFieldValidator

What it does

This class enforces rate limiting (backpressure) for GraphQL queries and mutations to prevent API abuse.

It validates incoming GraphQL requests and throws a 'Too Many Requests' exception when rate limits are exceeded.

Developers use this to protect their GraphQL endpoints from being overwhelmed by too many requests from a single source.

Public Methods

  • validate()