Closed mcruzdev closed 9 months ago
Hi @zhfeng how are you? I created the pull request as mentioned in the previous issue, could you review it? TY!
Hi @naah69 and @skyao, can you take a look on this issue? I opened a pull request to fix this error #156
When we want to get a state without data:
And there is no key into the store, we got the following message:
After some researching I added a validation in
JacksonDaprObjectSerializer
class:I added this configuration o ObjectMapper:
But without sucesss.
I do not know if makes sense send a pull request adding this validation
(data.length == 0) return null
.What do you think @naah69 and @zhfeng ?
I am using a in-memory state with this application:
https://github.com/mcruzdev/dapr-devservices/blob/f227955e2887224cd72adf574973cb891354017b/writer/src/main/java/dev/matheuscruz/MessageResource.java#L49