Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutation response coming in array I want to show mutation array response in Subscription in AppSync Console #364

Open
vandh0907 opened this issue Aug 7, 2024 · 0 comments

Comments

@vandh0907
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant