Skip to content

keyContext merge function under batching #42

@alon-hagshury

Description

@alon-hagshury

I'm very excited by your work and wonder if i could get your approval on adding support for keyContext merging while batching the same key with different context. I'm using the keyContexts of BatchLoaderEnvironment to ship the selection fields for a key. Some queries might have the same key with different selection fields and the batching mechanism in DataLoaderHelper's mkKeyContextMap method overrides the context with the latest context encountered for that key. I'll be glad if mkKeyContextMap be handed a function to handle a merge in such cases.

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