-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Labels
confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementationevent-handlerThis item relates to the Event Handler UtilityThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityhelp-wantedWe would really appreciate some support from community for this oneWe would really appreciate some support from community for this one
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
confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementationevent-handlerThis item relates to the Event Handler UtilityThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityhelp-wantedWe would really appreciate some support from community for this oneWe would really appreciate some support from community for this one
Type
Projects
Status
Coming soon