here is my current attempt, but unfortunately its ...
# orm-help
d
here is my current attempt, but unfortunately its not working: https://gist.github.com/dohomi/cecd58454512d682c83d814e1b56cfbb
error message:
"Cannot return null for non-nullable field Subscription.user."
n
are you sure that you are not returning
null
?
d
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
@nilan thanks for your reply I updated the gist. Is there any information available how to set up pubSub with a filter?