Skip to content

Provide way to pass Descending Read option to the Walk command #27

@a-b

Description

@a-b

While we were working on CLI story, we want to have retry behavior for when we fetch the "MostRecentEnvelope". To do this, we wanted to read envelopes in descending order using the walk function (which currently has retry logic).

We found descending read option not be supported under the current walk function. Current implementation sets the read options explicitly.

As a workaround, we will decorate the client.Read function which is passed to Walk(). We will have it add the descending read option, and get the one envelope we need.

As an alternative approach, we suggest you consider moving retry from Walk to the lower-level Read function.

CC: @bwasmith

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Waiting for Changes | Open for Contribution

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions