Skip to content

Add a note about immutability and sendResponses #11

Closed
@joelwurtz

Description

@joelwurtz

The sendResponses method return a batch result. User can retrieve response and/or exception with the getResponseFor / getExceptionFor.

If the request is updated in the sendRequests method and this transformed request is used to index the response / exception in the batch result user wil never retrieve the result.

IMO we should add a line for implementation client saying that they must used the original request to index the response / exception.

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