2.0.5
improvement:
discriminatedUnion
now can point not only to a literal validator but also to a union of literals.
Fix:
- The last
withError
would always win, it now propagates properly (you can have as manywithError
chained with other transformations.