Skip to content

Feature request: Enable middleware functionality for AppSyncResolver #4600

Closed as not planned
@TonySherman

Description

@TonySherman

Use case

The middleware functionality for the event handler REST APIs provides a really nice way to work with requests but the AppSyncResolver does not have the same API available to it.

Solution/User Experience

Ideally, the AppSyncResolver would have the same dev experience as the REST API middlewares:

app = AppSyncResolver(middlewares=[my_global_middleware])

@app.resolver(type_name="Query", field_name="getTodo", middlewares=[another_middleware])

Alternative solutions

No response

Acknowledgment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions