Back to Developer changelog

Defer Directive for Storefront API is now available in developer preview

API

Effective February 28, 2024

The @defer directive is now available in developer preview, allowing developers to prioritize part of a GraphQL query without having to make multiple requests to fetch the remaining information. Clients can make a single request and data will be received in a stream of responses.

This developer preview will guide our decision on the inclusion of this directive in the Storefront API. It will also provide insights into whether clients can effectively support the @defer directive in their implementations, as we are planning the introduction of fields that require mandatory use of @defer.

Test out the defer directive today by enabling the developer preview and following our tutorial . We value your input, please share your feedback on Github.