release-1775326067022
📦 graphql-yogaView on GitHub →
✨ 1 features🔧 3 symbols
Summary
GraphQL Yoga v5.21.0 introduces the ability to short-circuit request processing within the `onRequestParse` hook. Numerous related packages were updated to depend on this new core version.
Migration Steps
- If you use the `onRequestParse` hook and wish to stop further processing, call `endResponse(response)` within the hook to return the response immediately.
✨ New Features
- In the `onRequestParse` hook, added the ability to short-circuit request processing and return a response immediately by calling `endResponse`.