"Cannot return null for non-nullable field Subscription.user."
n
nilan
06/18/2018, 3:25 PM
are you sure that you are not returning
null
?
d
dohomi
06/19/2018, 12:01 AM
ok that took me quite a while.. I did not know (and neither its clear) that the publish function musst wrap the argument into an object with the name of the Subscription. It would be great if a more advanced example would be available - especially how withFilter works
dohomi
06/19/2018, 12:03 AM
@nilan thanks for your reply I updated the gist. Is there any information available how to set up pubSub with a filter?