Skip to content

Let users provide custom executeFn #1507

@XiNiHa

Description

@XiNiHa

Is your feature request related to a problem? Please describe
In the recent work on graphql-js for bringing @defer/stream, they introduced a new interface for executing with @defer/stream, which is called experimentalExecuteIncrementally. However, currently there's no way to tell Envelop to use this execution function instead of execute.

Describe the solution you'd like

Add an option to let users provide their own executeFn.

Describe alternatives you've considered

Provide an option to enable incremental delivery. I've put this as an alternative only because the incremental execution function has experimental at the front of its name, which makes it unreliable to depend on the interface from the library's end.

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