CompositeRequestTypeExtractor
Magento\GraphQl\Model\Backpressure\CompositeRequestTypeExtractor
What it does
This class implements the Composite design pattern to extract request type information from GraphQL field queries.
It iterates through multiple type extractors in sequence and returns the first successful result, allowing Magento to identify and categorize GraphQL requests for backpressure/rate limiting purposes.
Developers would use this when implementing custom request type extraction logic for GraphQL API throttling.
Public Methods
- extract()