Skip to content

DataLoader support for Mutations #3711

@rstoyanchev

Description

@rstoyanchev

We've had a report about batch loading not working with mutations, which seemed counter intuitive since query and mutation should work the same way for field selection. On closer look, however, DataLoader does expect AsyncExecutionStrategy while mutations execute with AsyncSerialExecutionStrategy. That's probably related to the requirement for serial execution of mutations, but still, batch loading not working seems more like an unintended side effect. It would be good to make this work if it can, or otherwise clarify the limitations, and update the DataLoader documentation accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keep-openTells Stale Bot to keep PRs and issues open

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions