Join Slack
Powered by
btw does anyone know if you can set up gql subscri...
# prisma-whats-new
j
joar
06/09/2017, 1:17 PM
btw does anyone know if you can set up gql subscriptions for the
user { }
?
n
nilan
06/09/2017, 2:03 PM
@joar
what do you mean with the
user { }
?
j
joar
06/09/2017, 2:03 PM
Like on my home screen i have a query that looks a bit like this
Copy code
user { offers { id ... } }
joar
06/09/2017, 2:04 PM
I would like to subscribe to the user’s offers
n
nilan
06/09/2017, 2:08 PM
you can use the filter argument of the subscription to restrict updates to users with a specific id
Open in Slack
Previous
Next