Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

middleware after graphql response #420

@crbonilha

Description

@crbonilha

I perform an operation after my controller have sent their response, by calling the "next" callback.
The problem is the express-graphql doesn't receive nor call the "next" callback.

Is there a workaround this?
My suggestion is to have it receive the "next" parameter, and then if the user set a "callNext" option as true the "next" callback is called after the response is sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions