Minor Changes
- Add experimental support for
@defer
and@stream
responses for GraphQL. This implements the "GraphQL Defer and Stream Directives" and "Incremental Delivery over HTTP" specifications. If a GraphQL API supportsmultipart/mixed
responses for deferred and streamed delivery of GraphQL results,@urql/core
(and all its derived fetch implementations) will attempt to stream results. This is only supported on browsers supporting streamed fetch responses, which excludes IE11.
The implementation of streamed multipart responses is derived frommeros
by@maraisr
, and is subject to change if the RFCs end up changing, by @kitten (See #1854)