'@defer'ExperimentalRFC2
The @defer directive enables your queries to receive data for specific fields incrementally, instead of receiving all field data at the same time. This is helpful whenever some fields in a query take much longer to resolve than others.
There are several versions of the incremental protocol used by @defer. The latest protocol uses multipart/mixed;incrementalSpec=v0.2 as the Accept header. The previous one used multipart/mixed;deferSpec=20220824 as the Accept header. spec pr
More info: https://specs.apollo.dev/incremental/v0.2/#sec--@defer-
Projects
| Project Name | Supported Since | Note |
|---|---|---|
| Apollo Client | 4.1 | Apollo Client supports |
| Apollo Kotlin | 5.0.0-alpha.3 | |
| Apollo Router | 1.8.0 | Apollo Router only supports the |
| Apollo Server | 5.1.0 |
|
| Apollo iOS | 1.14.0 | Apollo iOS only supports the |
| Domain Graph Service (DGS) Framework | ? | Know the status of this feature? Let us know! |
| GraphQL Code Generator | ? | Know the status of this feature? Let us know! |
| GraphQL Java | ? | Know the status of this feature? Let us know! |
| GraphQL Kotlin | ? | Know the status of this feature? Let us know! |
| GraphQL Yoga | 3.0.0 | Requires the defer and stream plugin. Read more. |
| GraphQL.js | ? | Know the status of this feature? Let us know! |
| GraphiQL | ? | Know the status of this feature? Let us know! |
| Grats | N/A |
|
| Hive Gateway | 1.0.0 | Only supports the |
| Hot Chocolate | 16.0.0 | Hot Chocolate supports |
| Relay | 15.0.0 | Relay does not support the latest version of the incremental protocol (issue) |
| Spring for GraphQL | ? | Know the status of this feature? Let us know! |
| gql.tada | 1.0.0 | gql.tada is transport agnostic, but types deferred fragment spreads as optional. Related fixes shipped in 1.8.0 and 1.8.3. |
| urql | 2.3.0 | Experimental multipart incremental delivery support for |