kanwren / augustus

Serialization/data validation combinator library for TypeScript
MIT License
1 stars 1 forks source link

Add context for reporting validation errors #8

Open kanwren opened 4 years ago

kanwren commented 4 years ago

It would be nice to be able to optionally provide context for detecting validation errors and returning the relevant value and schema; this would make it much easier to see where deeply nested structures fail validation.