Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Properly handle function coercer in array of coercers (#12)
feat!: Throw on non-function, non-string coercers chore: Demonstrate in tests how coercer ordering works chore: Demonstrate in tests how to skip toString from string coercer on objects Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>
- Loading branch information
Showing
2 changed files
with
145 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters