Skip to content

Feature request: Add support for AppSync GraphQL batch resolvers #4100

Open
@dreamorosi

Description

@dreamorosi

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

Metadata

Metadata

Assignees

Labels

confirmedThe scope is clear, ready for implementationevent-handlerThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utilityhelp-wantedWe would really appreciate some support from community for this one

Type

No type

Projects

Status

Working on it

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions