Join Slack
Communities
Powered by
<@U5P82S230> appreciate the great forum reply re: ...
# prisma-whats-new
c
cball
09/28/2017, 2:30 PM
@agartha
appreciate the great forum reply re: SSS and push notifications! Can’t login atm so may followup a few things here as I’m digging in
a
agartha
09/28/2017, 2:31 PM
No problem, feel free to ask!
c
cball
09/28/2017, 2:31 PM
the apollo / realtime combo looks 💯
cball
09/28/2017, 2:32 PM
but it is turn based, and like you mention a second or 2 isn’t a huge deal so I may go with just push to start
a
agartha
09/28/2017, 2:33 PM
Yeah, I imagine it's easier to deal with one channel than two
agartha
09/28/2017, 2:36 PM
There's good documentation for Apollo Link and split points here:
https://github.com/apollographql/apollo-link/blob/master/docs/implementation.md#split-points
agartha
09/28/2017, 2:39 PM
There's an example of a Link function right below. Basically, you would create a function that sets up the push notification handler, and calls observer.next(data) with the push notification payload
Open in Slack
Previous
Next