v10.0.0-rc.3
S.tosupport from literal to non-literal of the same type- Fix the
S.unioncase with parsing schemas of the same type - Export
UnknownToOutputandUnknownToInputand add GenType support forS.schematype - Fixed
S.toJSONSchemato error with invalid optional object fields - Display expected and received values in the same format
- Update validation to start by deeply checking the object and literal fields. This might resolve in a less detailed error path, but allows nested literals to act as union discriminators.
- Stopped validating literals in conversion mode
- Support reverse parsing for
S.objectwith nested discriminants
Full Changelog: v10.0.0-rc.2...v10.0.0-rc.3