Replies: 1 comment 1 reply
-
Hey @afuno! That sounds like a bug, can you open an issue with an example that would show this behavior and explain how you would want it to work? 🙏🏻 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now there is a problem between validations. For example, between
type
andinclusion
. If the type does not match what is required, then it will not be checked, since onlyinclusion
will be checked. That is, only the last rule will be checked.I think it is necessary to implement logic that would use all the described checks for
input
andoutput
. This should share the responsibility and simplify the code, getting rid of unnecessary conditions insideis
, for example, formust
, inside which there is sometimes logic for checking for nil and type.Beta Was this translation helpful? Give feedback.
All reactions