Skip to content

State store etag doesn't work #551

@duylddev

Description

@duylddev

Expected Behavior

    for (let i = 0; i < 10; i++) {
      await daprClient.state.save('statestore', [
        {
          key: 'key',
          value: random(),
          etag: 'x',
        },
      ])
    }

This code should throw etag mismatch error

Actual Behavior

state save success without any error, etag increase one each time

Steps to Reproduce the Problem

Just run that code above

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions