Open mzdemezer opened 1 year ago
Thanks for raising this, @mzdemezer. Looks to me like the fix here will be to follow the same approach as https://github.com/dry-rb/dry-schema/pull/244, this time focusing on the other UUID versions and getting proper error messaging support across the board.
Would you like to have a go at it?
Hello, I have opened a PR to resolve the issue.
Describe the bug
We have run into the same issue as https://github.com/dry-rb/dry-schema/issues/230, but with
uuid_v3?
anduuid_v5?
this time.To Reproduce
We have run into the bug with code similar to the following one:
upon a call with id in some non-uuid format. The following error message was produced:
Expected behavior
Proper error message is produced, no exception thrown.
Looking at possible predicates vs the default error messages, how about adding the default messages for v1, v2, v4 and v5?
My environment