You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GetStateAsync fails while the HTTP Api does not when a projection state is returned.
Http Api GET projection/{name}/state might return an empty result, the GetStateAsync operation fails in such cases
The excetpion is System.Text.Json.JsonReaderException
Describe the bug
The excetpion is
System.Text.Json.JsonReaderException
To Reproduce
Steps to reproduce the behavior:
the code in this gist reproduces the error when there is a state returned by the HTTP Api : https://gist.github.com/ylorph/a27997621b3e6e26e635223c30714912
Expected behavior
GetStateAsync should return the data when it is available
GetStateAsync should not fail when there is no data to return
Actual behavior
GetStateAsync fails with an expection in all cases
EventStore details
The text was updated successfully, but these errors were encountered: