aws / aws/aws-appsync-community

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

Open
#364 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
507
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the supplied Mutation and Subscription schema and reproduce the behavior in the AppSync Console using the two-tab mutation and subscription flow. Compare the mutation's array response with the subscription result; done means the subscription receives the expected array of Message objects or the issue documents the confirmed AppSync limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, graphql
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.