Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(appsync): fix argument in Values.projecting() call (#12855)
Browse files Browse the repository at this point in the history
Customer reported incorrect argument to Values.projecting() in appsync README

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Jerry Kindall authored and Elad Ben-Israel committed Feb 22, 2021
1 parent 98d4f34 commit 9afdaaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appsync/README.md
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ demoDS.createResolver({
fieldName: 'addDemo',
requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(
appsync.PrimaryKey.partition('id').auto(),
appsync.Values.projecting('demo')
appsync.Values.projecting('input')
),
responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),
});

0 comments on commit 9afdaaf

Please sign in to comment.