Giter Site home page Giter Site logo

Comments (15)

ManAnRuck avatar ManAnRuck commented on May 20, 2024 8

Whats about @stream? ☺️

from apollo-feature-requests.

jerelmiller avatar jerelmiller commented on May 20, 2024 8

Hey all πŸ‘‹

As an update here, we are working through how best to support @stream across the entire Apollo platform and figure out how best to roll this functionality out. We will have more to share in the coming days. Glad to see the interest for @stream!

from apollo-feature-requests.

clarencenpy avatar clarencenpy commented on May 20, 2024 7

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.

from apollo-feature-requests.

jpvajda avatar jpvajda commented on May 20, 2024 6

πŸ‘‹ Hello everyone! Just a quick update on the support of @defer & @stream for the Apollo Client and Apollo Platform... The Client Team is a bit further ahead in development 😎 then some of our other teams, so we are currently aligning our roadmaps to ensure Apollo can offer end to end support of @defer through the platform soon.

@stream support will likely come as a fast follow release for all of our teams, which we are also aligning on internally. The main goal for Apollo is to ensure we have end to end platform support for both of these important GraphQL features. Please let us know if you have questions!

from apollo-feature-requests.

jerelmiller avatar jerelmiller commented on May 20, 2024 2

Nope! I'll communicate an update when we have one πŸ™‚

from apollo-feature-requests.

dylanwulf avatar dylanwulf commented on May 20, 2024 1

@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.

from apollo-feature-requests.

Banou26 avatar Banou26 commented on May 20, 2024 1

@sgedda If i remember right it's possible by using some the experimental graphql version but it's very much unstable / you have to do some hacky things to make it work.
So no, Apollo currently doesn't support @stream right now.

I would recommend using https://formidable.com/open-source/urql/ and https://the-guild.dev/graphql/yoga-server if you really want a proper @stream support.
I personally moved my project from apollo to it since i really needed @stream & better performance

from apollo-feature-requests.

tasola avatar tasola commented on May 20, 2024 1

@jerelmiller I’m also interested in an update on this!

from apollo-feature-requests.

lxwbr avatar lxwbr commented on May 20, 2024

@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.

from apollo-feature-requests.

adamyi avatar adamyi commented on May 20, 2024

Any update on this?

from apollo-feature-requests.

sebas5384 avatar sebas5384 commented on May 20, 2024

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 ?

from apollo-feature-requests.

boredland avatar boredland commented on May 20, 2024

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

from apollo-feature-requests.

Akryum avatar Akryum commented on May 20, 2024

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

from apollo-feature-requests.

sgedda avatar sgedda commented on May 20, 2024

Is it possible to use "@stream" in apollo client by now? I only got "@defer" working by implementing it like this: https://www.apollographql.com/docs/react/data/defer/

I got it working in the playground through the server though. (but showing null for the underlying objects which seems to be an issue with the playground?)
image

I am using React native and package https://www.npmjs.com/package/@apollo/client

from apollo-feature-requests.

harisvsulaiman avatar harisvsulaiman commented on May 20, 2024

@jerelmiller is there an update?

from apollo-feature-requests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.