When working with real-time data in GraphQL, a very common use case is the need to filter subscriptions based on arguments (think about how a chat app works, where a chat room may subscribe to messages based on the room ID). In this video, you’ll learn how to implement filtered GraphQL subscriptions using arguments with AWS Amplify and AWS AppSync.

Amplify docs showing how to set this up: https://docs.amplify.aws/guides/api-graphql/subscriptions-by-id/q/platform/js
AppSync docs with overview of subscription arguments: https://docs.aws.amazon.com/appsync/latest/devguide/aws-appsync-real-time-data.html#using-subscription-arguments

#aws appsync #aws amplify #graphql #arguments

Filtering GraphQL Subscriptions with Arguments with AWS Amplify & AWS AppSync
1.30 GEEK