aws / aws/aws-appsync-community
Add Support for JS Resolver DDB BatchGetItem Projections
- Dominant language
- HTML
- Stars
- 507
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
The [docs](https://docs.aws.amazon.com/appsync/latest/devguide/js-aws-appsync-resolver-reference-dynamodb-batch-get-item.html) indicate support, but when I add a `projection` to my `BatchGetItem`, AppSync returns a `NullPointerException` with the message: `Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null`
Contributor guide
Research direction
Start with the linked AWS AppSync BatchGetItem documentation and reproduce the reported JavaScript resolver request with a projection. Confirm whether the documented projection shape consistently triggers the NullPointerException; done means the request succeeds with the expected projected attributes or the discrepancy is fully documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, graphql, javascript
- Domain
- api, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100