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
The thing is decoding 'notanuuid' actually returns '00000000-0000-0000-000e-23c92ffab638' which by Ramsey's validation regex is perfectly valid as per this issue comment
So I guess what can be done right now is accept that any UUID that comes out of decode method is valid (as per Ramsey's) or at best add a check to validate UUID version and variant against RFC 4122
Validation is just being moved to a validator class for version 4.x, so lets hope for different kinds of validators to be available
Hi,
When we try to decode something that isn't a valid uuid it works, IMO it should throw an error:
The text was updated successfully, but these errors were encountered: