Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

State link and subscriptions? #138

Open
Torsten85 opened this issue Dec 24, 2017 · 9 comments
Open

State link and subscriptions? #138

Torsten85 opened this issue Dec 24, 2017 · 9 comments
Assignees

Comments

@Torsten85
Copy link

Hey,
any chance this link will work with subscriptions?
Current use case:
I would like to make a subscription that will receive the currently discovered bluetooth device... something like:

subscription discoveredDevice {
  bluetoothDevice @client {
    name
  }
}

then I would publish the device via pubSub from a local bluetooth manager to that client subscription.

Any plans for something like that in the future?

@blissi
Copy link

blissi commented Dec 25, 2017

I asked the same thing yesterday and found out that subscriptions were not necessary for my case:
#137

@Torsten85
Copy link
Author

@blissi thanks for the tip, didn't thought of that... and it works very well.

So this issue can be closed

@blissi
Copy link

blissi commented Dec 27, 2017

You're welcome. Just one question:
Do you also experience the same issue as I do => #139 ?

@peggyrayzis
Copy link
Contributor

Hey @blissi! Subscriptions are not supported yet, but we're looking to implement them soon. Right now, most browser / React Native device APIs allow you to register a callback to an event listener where you can trigger a mutation. This should cover most use cases for now until we add support for subscriptions.

@snajahi
Copy link

snajahi commented Feb 15, 2018

@blissi did you manage to find a solution for #139?

@blissi
Copy link

blissi commented Feb 16, 2018

@snajahi I haven't tried it any further and removed apollo link state from my project.

@zry656565
Copy link

@peggyrayzis Hey, any update for this issue now?

@maxim-grishaev
Copy link

@peggyrayzis bump. Any news on this? What is the state of things now?

@MichelDiz
Copy link

Subscriptions for this would be amazing. Light-years away from Redux or Mobx.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants