Skip to content

No way to pass state metadata into saveState method #1569

@alicejgibbons

Description

@alicejgibbons

Expected Behavior

Today the only way to pass metadata into a save state call is to use the bulkSaveState method, considering the following method sets the metadata to null:

https://github.com/dapr/java-sdk/blob/master/sdk/src/main/java/io/dapr/client/AbstractDaprClient.java#L503

Actual Behavior

I would expect there to be a method with a saveState option to pass it metadata like in go: https://github.com/dapr/go-sdk/blob/main/client/state.go#L279

Release Note

RELEASE NOTE: FIX Pass metadata in saveState.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions