aws / aws/aws-appsync-community

[Feature Request] Subscription onConnect and onDisconnect hooks

Open
#256 2 comments 2 reactions 0 assignees View on GitHub
feature-request
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.