Apollo-feature-requests: Add experimental support for @defer, @stream, and @live

Created on 27 Jul 2018  路  8Comments  路  Source: apollographql/apollo-feature-requests

Migrated from: apollographql/apollo-client#1152

project-apollo-client

Most helpful comment

Alpha support for @defer is now available on Apollo Server/Client! I'm linking the WIP spec here as a reference for authors of other GraphQL servers.

All 8 comments

Alpha support for @defer is now available on Apollo Server/Client! I'm linking the WIP spec here as a reference for authors of other GraphQL servers.

Whats about @stream? 鈽猴笍

@ReggaePanda having a look at the implementation I would say that how @defer is used in this alpha version also covers @stream. So you could basically use @defer in lists is if it would be @stream.

@clarencenpy I would be interested in the plans on this alpha version of implementation and when it would find its way to the master branch.

Any update on this?

seems like this feature is "deferred" to after Apollo Client 3 is released

there's any work on this for the current Apollo client/server ?

has there ever been a solution for using @live in apollo?

What is the status of @defer and @stream support in Apollo Client and Server now that the spec is stage 2?

@Akryum Looks like it's planned for apollo client v3.5: https://github.com/apollographql/apollo-client/blob/main/ROADMAP.md#35
Also, a general tip: please make sure to wrap @defer and @stream in backticks like this: `@defer` `@stream`. Otherwise you end up unintentionally tagging github users.

Was this page helpful?
0 / 5 - 0 ratings