Benoit Boure

Benoit Boure

Subscribe to my newsletter and never miss my upcoming articles

How to Handle Many to Many relations in AppSync

May 16, 20216 min read 222 views

In this post, I will teach you how you can handle many-to-many relations with AWS AppSync, how to avoid denormalization and still avoid the n+1 problem. TL;DR; Use a Pipeline resolver to first fetch the relations followed by a BatchGetItem operation...

How to Handle Many to Many relations in AppSync
Understanding the DynamoDB Sort Key Order
5 Ways to Prevent Accidentally Deleting Your CloudFormation Resources
How to Store Large Attribute Values in DynamoDB
How to use TypeScript with AppSync Lambda Resolvers
How to use DynamoDB single-table design with AppSync