-
When I try:
I'm wondering if I'm doing something incorrectly. It's Scala 3.3.0 |
Beta Was this translation helpful? Give feedback.
Answered by
Iltotore
Jun 15, 2023
Replies: 1 comment
-
Since the standard UUID data type is always valid, there's no ValidUUID constraint for it. By default, ValidUUID is only implemented for String. You can implement it yourself (a Constraint instance that always returns true) but in the case you sent you probably don't need ValidUUID at all. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sergeda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the standard UUID data type is always valid, there's no ValidUUID constraint for it. By default, ValidUUID is only implemented for String.
You can implement it yourself (a Constraint instance that always returns true) but in the case you sent you probably don't need ValidUUID at all.