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
After calling appendToStream method with an id which is not a uuid, I get this error:
UnknownError: Could not recognize BadRequest
I was in situations where it took a long until I realized I was passing a wrong id through my app. I suggest having a validator on input, so we don't send such requests to EventStore at all (instead we can throw something like InvalidIdException.
I really like to make a PR for id validation, along with related tests if everyone agrees on such a fix.
The text was updated successfully, but these errors were encountered:
After calling
appendToStream
method with an id which is not auuid
, I get this error:I was in situations where it took a long until I realized I was passing a wrong id through my app. I suggest having a validator on input, so we don't send such requests to EventStore at all (instead we can throw something like
InvalidIdException
.I really like to make a PR for id validation, along with related tests if everyone agrees on such a fix.
The text was updated successfully, but these errors were encountered: