Anthony Cheung

Results 4 comments of Anthony Cheung

Sure, this is the link to my repo. https://github.com/AnthonyCC/graphQL-Demo The schema is defined in /server/graphQL/schema.js. The data is published to the channel in /server/route/graphQL.js, `updateUserPassword`. Thanks for looking into this...

Yes. @NeoPhi , that is the issue I am having. If I publish the data with `sub.pubsub.publish('passwordUpdatedChannel', user);` Then I won't get the data in the subscriber, I will get...

@NeoPhi , If you publish the object with the subscription name nested in the object, then you will get the expected output, which is`callback null { data: { passwordUpdated: {...