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
upon a call with id in some non-uuid format. The following error message was produced:
API error: Message template for :id under "filters" was not found. Searched in:
"en.dry_schema.errors.rules.id.uuid_v3?.arg.default"
"en.dry_schema.errors.rules.id.uuid_v3?"
"en.dry_schema.errors.uuid_v3?.failure"
"en.dry_schema.errors.uuid_v3?.value.id"
"en.dry_schema.errors.uuid_v3?.value.string.arg.default"
"en.dry_schema.errors.uuid_v3?.value.string"
"en.dry_schema.errors.uuid_v3?.arg.default"
"en.dry_schema.errors.uuid_v3?"
Expected behavior
Proper error message is produced, no exception thrown.
Thanks for raising this, @mzdemezer. Looks to me like the fix here will be to follow the same approach as #244, this time focusing on the other UUID versions and getting proper error messaging support across the board.
Describe the bug
We have run into the same issue as #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
The text was updated successfully, but these errors were encountered: