Appsync Unified | Repo
Example resolver ( getPost.ts ):
In packages/web/package.json :
Taming the GraphQL Beast: Managing AWS AppSync in a Unified Repository appsync unified repo
// packages/api/lib/appsync-stack.ts import * as appsync from 'aws-cdk-lib/aws-appsync'; import * as dynamodb from 'aws-cdk-lib/aws-dynamodb'; const api = new appsync.GraphqlApi(this, 'MyUnifiedApi', { name: 'UnifiedBlogApi', schema: appsync.Schema.fromAsset('graphql/schema.graphql'), // single source of truth }); Example resolver ( getPost