Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: surface deepest error from failed union validation
The "Expected union value" error message is practically useless, so I think it‘s a better DX to surface the deepest validation error (based on property path).
- Loading branch information