In io.dapr.client.DaprClientHttp#executeStateTransaction, there's one line of code like below:
|
operations.add(new TransactionalStateOperation<>(operation.getOperation(), |
Instead, I believe the right logic should be:
// Custom serializer, so everything is byte[].
internalOperationObjects.add(new TransactionalStateOperation<>(operation.getOperation(),
new State<>(state.getKey(), data, state.getEtag(), state.getMetadata(), state.getOptions())));
In io.dapr.client.DaprClientHttp#executeStateTransaction, there's one line of code like below:
java-sdk/sdk/src/main/java/io/dapr/client/DaprClientHttp.java
Line 398 in 9c5084b
Instead, I believe the right logic should be: