[constraint] Checking if both fields are assigned #564
Replies: 1 comment
-
|
Solved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling to check if 2 variables are assigned.
I have this class and I want to make sure that when it's amends/eval only 1 variable from [regex,regex2] is assigned
I want to do something like this
or something like
How I can approach this with if-else or maybe constraint to throw an exception if both values are assigned
Thank you
Beta Was this translation helpful? Give feedback.
All reactions