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
When is a great rule for a binary case. Is there a rule or way to do conditional validation if the conditional key value can have more than two outcomes?
e.g.
This behaves like an if...elseif block, or a set of OR conditions.
While testing this, I noticed that my recent changes to Each were broken for this example. It should, however, work for 2.2 (except for the reporting problems) and now it is fixed on 2.3 as well (with detailed messages).
I'm closing this because it was supported before. There is an improvement related to it, but it is about the message reporting in Each and not the structuring of the oneOf itself.
When is a great rule for a binary case. Is there a rule or way to do conditional validation if the conditional key value can have more than two outcomes?
e.g.
This code works, but chaining 'when' gets a little cumbersome after a few 'manufacturers'. Is there some kind of switch-like rule?
The text was updated successfully, but these errors were encountered: