All notable changes to this project will be documented in this file.
- Error messages for mapped types
- Project upgrade (node version, dependencies)
- [Internal] Moved from jest to vitest to reduce config complexity
- Merge all object JSON-Schemas before product'ing with JSON-Schema unions during an intersection
- Throw an error when an unsupported codec is used in an omit
- Allow boolean and number as literal values
- Added a new
partial
codec to make all fields of an object-like codec optional. Acts similar to TSPartial<T>
- Added a new
omit
codec to mask out fields from an object-like codec. Acts similar to TSOmit<T, mask>
- The
recursive
codec now takes an explicit id as its first argument instead of generating a random on call
- Tests for json-schema generation
- A changelog
- Refactored schema generation to be more maintainable
- JSON-Schema's generated from intersections will no longer sometimes result in duplicate entries within
required: []
- JSON-Schema's generated from intersections containing only unions will no longer result in an empty schema
No Changelog