aws / aws/aws-appsync-community
[Feature Request] Subscription onConnect and onDisconnect hooks
- Dominant language
- HTML
- Stars
- 507
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
It would be nice to have the ability to run a mutation or trigger a lambda function when the client connects or disconnects from the subscription Websocket.
Similar to [Apollo](https://www.apollographql.com/docs/apollo-server/data/subscriptions/#onconnect-and-ondisconnect)
Contributor guide
Research direction
Start by reading the linked Apollo onConnect and onDisconnect reference, then trace how AWS AppSync handles subscription WebSocket connections. Determine the supported behavior for triggering a mutation or Lambda on connect and disconnect; done means the lifecycle hooks are implemented with clear semantics and coverage for both events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, graphql
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100