Passing data through a GRAPHQL Subscription gives null on only one of the arguments
问题 I have the following GRAPHQL subscription: Schema.graphql type Subscription { booking: SubscriptionData } type SubscriptionData { booking: Booking! action: String } And this is the resolver subsrciption file Resolver/Subscription.js const Subscription = { booking: { subscribe(parent, args, { pubsub }, info) { return pubsub.asyncIterator("booking"); } } }; export default Subscription; Then I have the following code on the Mutation in question pubsub.publish("booking", { booking: { booking },