Open
Description
Use case
In #3999 we added support for AppSync GraphQL single resolver, which allows customers to map a GraphQL action/request to a resolver. We should now add batch resolvers.
Solution/User Experience
Building on the APIs introduced in #3999, we should add a new method batchResolver
that accepts a resolver function and a configuration/options object. The config object should work similar to the resolver
method added in the PR mentioned above and accept typeName
and fieldName
. The main difference for this new method is that it passes a list of AppSyncResolverEvent
to the route handler.
Alternative solutions
N/A
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Working on it