aws / aws/aws-appsync-community
Mutation response coming in array I want to show mutation array response in Subscription in AppSync Console
- 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
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