Closed FrederikBolding closed 1 day ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.95%. Comparing base (
c5c2514
) to head (b365cfa
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adds a
typedUnion
utility which strictly validates members of the union based on atype
field. This should reduce the noise when trying to parse through Superstruct validation failures resulting in validating large unions such as the JSX unions.This doesn't solve the Superstruct union problem generally as we still have many unions of unions, but it might make the problem easier to solve.