aws-appsync-community
aws-appsync-community copied to clipboard
Mutation response coming in array I want to show mutation array response in Subscription in AppSync Console
I have mutation as
type Mutation { createMessage(input: MessageInput): [Message] }
type Subscription { messageCreated(room: String): [Message] @aws_subscribe(mutations: ["createMessage"]) } I tested subscription and mutation by firing mutation in one tab and in other tab I have fired subscription, got data in mutation as array of objects but not getting any response from subscription (I want response as array of object same as mutation).
Same issue here. waiting the response