Skip to content

No way to pass state metadata into saveState method #1569

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.

Activity

  1. linear commented on Oct 1, 2025

    @linear

    from salaboy:

    PR ready: #1570

  2. added this to the v1.17 milestone on Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions