Comments (15)
Whats about @stream?
from apollo-feature-requests.
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.
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.
π 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.
Nope! I'll communicate an update when we have one π
from apollo-feature-requests.
@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.
@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.
@jerelmiller Iβm also interested in an update on this!
from apollo-feature-requests.
@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.
Any update on this?
from apollo-feature-requests.
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.
has there ever been a solution for using @live
in apollo?
from apollo-feature-requests.
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.
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?)
I am using React native and package https://www.npmjs.com/package/@apollo/client
from apollo-feature-requests.
@jerelmiller is there an update?
from apollo-feature-requests.
Related Issues (20)
- Support for a Cache type policy when field is Garbage Collected HOT 2
- Add cache eviction of a query via query DocumentNode HOT 1
- Run a callback before the internal state of useMutation is updated.
- Local Resolvers: Support returning errors and data together for partial results
- Dependency Dashboard
- Revisit `refetchQueries` API
- Add an option to MockProvider to throw when a request fails to match a mock
- Please add polyfill for `globalThis` as it breaks compatibility for Chrome < v71 HOT 2
- Refetch on window focus HOT 2
- Drop `ApolloClient.query()` in next major HOT 1
- Keyword search in Job postings filter HOT 1
- warnAboutDataLoss fails with stringifying error and breaks application
- Query consolidation HOT 1
- Compare variables based on their serialized value HOT 1
- Change useSubscription to be Suspense compatible HOT 1
- Implement timeout for Apollo Client HOT 3
- Warn/error when fragments that depend on operation variables are used without them HOT 1
- Could you make error messages more informative? HOT 1
- Add @client support on argument level
- Documentation and warning about cache and merging of array types is misleading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-feature-requests.