How to implement enum restriction? #427
Unanswered
ConstantinVasilev
asked this question in
Q&A
Replies: 1 comment
-
For now Logica does not have enum types, but this kind of check can be done at runtime, using
There is no way of having a rule that would do checks on other rules (other than with types as discussed in the other thread). |
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
-
I tried with the below code without success. The documentation also has example where the
in
condition is treated as creation of records/instances rather than a constraint.Beta Was this translation helpful? Give feedback.
All reactions