GithubHelp home page GithubHelp logo

Subscriptions about apollo-ios HOT 32 CLOSED

apollographql avatar apollographql commented on May 5, 2024 4
Subscriptions

from apollo-ios.

Comments (32)

florianmari avatar florianmari commented on May 5, 2024 9

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.

oliviertouron-playster avatar oliviertouron-playster commented on May 5, 2024 9

Hello guys,
Do you have an idea when Subscription on iOS will be available (official version)?
Thx

from apollo-ios.

stami avatar stami commented on May 5, 2024 8

@florianmari Any updates on integrating it to Apollo? :)

from apollo-ios.

jgavris avatar jgavris commented on May 5, 2024 3

Please check out #220 !

from apollo-ios.

martijnwalraven avatar martijnwalraven commented on May 5, 2024 2

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.

matthewcheok avatar matthewcheok commented on May 5, 2024 2

Interested to help push this forward, any ideas on what it would take to implement this?

from apollo-ios.

gpambrozio avatar gpambrozio commented on May 5, 2024 2

Seems to have been added in #220

from apollo-ios.

taion avatar taion commented on May 5, 2024 1

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.

martijnwalraven avatar martijnwalraven commented on May 5, 2024

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.

stubailo avatar stubailo commented on May 5, 2024

If someone has ideas or wants to send a PR this is a great place to discuss!

from apollo-ios.

bchrobot avatar bchrobot commented on May 5, 2024

How do the authors feel about using a 3rd party library like Starscream for handling web sockets?

from apollo-ios.

martijnwalraven avatar martijnwalraven commented on May 5, 2024

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

MrAlek avatar MrAlek commented on May 5, 2024

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

bchrobot avatar bchrobot commented on May 5, 2024

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

martijnwalraven avatar martijnwalraven commented on May 5, 2024

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

attheodo avatar attheodo commented on May 5, 2024

Any updates on subscriptions? Is there a roadmap?

from apollo-ios.

mwurm93 avatar mwurm93 commented on May 5, 2024

@martijnwalraven any idea of the timeline for subscriptions support?

from apollo-ios.

Gregoirevda avatar Gregoirevda commented on May 5, 2024

Any upgrades???

from apollo-ios.

LeeWong avatar LeeWong commented on May 5, 2024

Any updates? Thanks.

from apollo-ios.

martijnwalraven avatar martijnwalraven commented on May 5, 2024

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.

psi-gh avatar psi-gh commented on May 5, 2024

Update? :)

from apollo-ios.

florianmari avatar florianmari commented on May 5, 2024

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.

martijnwalraven avatar martijnwalraven commented on May 5, 2024

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

jgavris avatar jgavris commented on May 5, 2024

@martijnwalraven is the channel #ios-contributors? I would like to participate on the subscriptions effort as we need it very soon.

from apollo-ios.

martijnwalraven avatar martijnwalraven commented on May 5, 2024

@jgavris Oh yes, sorry, we renamed it to #ios-contributors.

from apollo-ios.

tomasrequenab avatar tomasrequenab commented on May 5, 2024

A question .. Are subscriptions not supported in Apollo iOS Client yet?

from apollo-ios.

florianmari avatar florianmari commented on May 5, 2024

@tomasrequenab No yet

from apollo-ios.

tomasrequenab avatar tomasrequenab commented on May 5, 2024

@florianmari What about LiveGQL library?

from apollo-ios.

DarkDust avatar DarkDust commented on May 5, 2024

Since #220 has been merged and released, can we close this one?

from apollo-ios.

ex3ndr avatar ex3ndr commented on May 5, 2024

While subscriptions are received events are not merged to a storage, is it designed as intended?

from apollo-ios.

jdrydn avatar jdrydn commented on May 5, 2024

Also worth noting there's no documentation at all for subscriptions, doesn't appear to be a part of #220 🤷‍♂️

from apollo-ios.

designatednerd avatar designatednerd commented on May 5, 2024

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)

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.