Improve readability of struct validation errors when using unioned types
Open
snaps-deferred
snaps-maintenance
snaps-prioritized-2023-oct
- Dominant language
- TypeScript
- Stars
- 853
- Forks
- 662
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 8
Description
Some superstruct struct errors are not very understandable, especially when the struc is an union.
Contributor guide
Research direction
Start by locating the Superstruct validation error formatting and the handling of unioned types. Review existing examples or tests for struct errors, then define completion as producing clearer, understandable errors for union validation failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100