Comments (32)
Hey guys, I'm working on GraphQL Subscription Library (LiveGQL) when I finish it and have a good library I'm gonna check to make a Pull Request on Apollo-iOS (in next few months I guess)
from apollo-ios.
Hello guys,
Do you have an idea when Subscription on iOS will be available (official version)?
Thx
from apollo-ios.
@florianmari Any updates on integrating it to Apollo? :)
from apollo-ios.
Please check out #220 !
from apollo-ios.
We have some work on caching and the imperative read/write API to finish and merge first, but I suspect subscriptions will be one of the next things to work on after that! (These things are also something of a prerequisite for it.)
from apollo-ios.
Interested to help push this forward, any ideas on what it would take to implement this?
from apollo-ios.
Seems to have been added in #220
from apollo-ios.
Not in a first-class manner on the network side, but all the functionality to upload the store based on out-of-band subscription responses is present.
See e.g. the AWS AppSync iOS code: https://github.com/awslabs/aws-mobile-appsync-sdk-ios/blob/3fbd248440115d1b913fabc9290eb9d7d4bc9a9b/AWSAppSyncClient/AWSAppSyncSubscriptionWatcher.swift#L111-L135
from apollo-ios.
Subscriptions are not yet supported, but they are definitely on the road map, and we should be able to implement them in the next couple of months. I don't know of any other native libraries supporting GraphQL subscriptions.
from apollo-ios.
If someone has ideas or wants to send a PR this is a great place to discuss!
from apollo-ios.
How do the authors feel about using a 3rd party library like Starscream for handling web sockets?
from apollo-ios.
@bchrobot: I think that's a given, we definitely don't want to develop our own websocket library :) Starscream seems like a great option. Do you have any experience with it?
from apollo-ios.
@martijnwalraven @bchrobot I've used Starscream for a hobby project in the past, super smooth to get going with. Definitely worth exploring.
from apollo-ios.
@MrAlek That has been my experience with it as well.
@martijnwalraven Has planning for this feature been started? My group is very excited about this feature and could start on a PR for it
from apollo-ios.
@bchrobot: We haven't really started planning, I just have some ideas. So it would be great if you wanted to get started on it!
from apollo-ios.
Any updates on subscriptions? Is there a roadmap?
from apollo-ios.
@martijnwalraven any idea of the timeline for subscriptions support?
from apollo-ios.
Any upgrades???
from apollo-ios.
Any updates? Thanks.
from apollo-ios.
It would be great if people are interested in contributing! Please join the #ios-core
channel on the Apollo Slack if you want to discuss further. We're working on some changes to the networking layer that should make it easier to integrate with other transports.
from apollo-ios.
Update? :)
from apollo-ios.
Interested to work with someone to implement it to Apollo, I think now it's one of the biggest missed feature in this library! I updated mine with SocketRocket and it would be better if my library (or any new ones) would be integrated within Apollo instead of having a separated one
from apollo-ios.
@matthewcheok @florianmari Work on the new networking layer seems to have stalled, but would be great to start this up again. Once we have a more flexible pluggable transport, adding support for subscriptions should be relatively straightforward.
Let's coordinate on the #ios-core
channel on the Apollo Slack. It's been a while since we've had a contributor meeting, but that may help get more people involved again.
from apollo-ios.
@martijnwalraven is the channel #ios-contributors
? I would like to participate on the subscriptions effort as we need it very soon.
from apollo-ios.
@jgavris Oh yes, sorry, we renamed it to #ios-contributors
.
from apollo-ios.
A question .. Are subscriptions not supported in Apollo iOS Client yet?
from apollo-ios.
@tomasrequenab No yet
from apollo-ios.
@florianmari What about LiveGQL library?
from apollo-ios.
Since #220 has been merged and released, can we close this one?
from apollo-ios.
While subscriptions are received events are not merged to a storage, is it designed as intended?
from apollo-ios.
Also worth noting there's no documentation at all for subscriptions, doesn't appear to be a part of #220 🤷♂️
from apollo-ios.
Hey all, I'm going to close this as we do have the subscriptions method through the Apollo-Websocket
subspec.
If there's separate issues with the Apollo-Websocket
implementation I'd ask you to please re-file them so that when I get a chance to give that implementation some love I know what's still a problem. Thank you!
from apollo-ios.
Related Issues (20)
- Narrowly Scoped equality on SelectionSet models HOT 1
- SQLite dependency needs to be bumped to 0.15.0 HOT 3
- Generated mocks in test target missing @testable annotation against main target HOT 6
- codegen: Append type to generated filenames HOT 5
- Add support for SPM `Package.resolved` version `3`
- Support multiple schemas / endpoint in one project HOT 7
- Parity with Kotlin SDK for cache chaining and optimistic cache updates HOT 2
- PrivacyInfo.xcprivacy file is invalid for Apollo and ApolloApi. HOT 7
- SchemaConfiguration should be scoped within the namespace enum for `embeddedInTarget` module type
- Investigation: Allow codegen projects to modify generated filenames
- Add support for incremental cache writes
- Add support for incremental cache reads
- Avoid File Overwriting for Unchanged Files HOT 1
- `InMemoryNormalizedCache` is a memory bomb HOT 5
- iOS 13.0 or newer error - compile fails HOT 1
- Custom Scalar | ApolloAPI.JSONDecodingError.couldNotConvert(value: AnyHashable to: Swift.String HOT 5
- How should I continue after handleErrorAsync inside a custom ApolloErrorInterceptor? HOT 5
- Defining a CustomScalarType which is [String:Any] HOT 5
- Deprecate `legacyResponse` and prepare for partial/incremental caching
- Custom scalar isn't being respected HOT 7
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-ios.