typebox
typebox copied to clipboard
JsonTypeBuilder#Record not passing on options
Options object passed to JsonTypeBuilder#Record is not passed on to free Record function
This prevents [Kind]: "Record" types from having $id, title, and so on.
I can make a PR if you prefer, but since its just a 1-liner fix perhaps it can be sorted while you're doing other changes.
Oh, and thanks for a fantastic library ❤️
@gregerolsson Hi,
Thanks for reporting! Have published a fix on 0.32.12 and written option assignment tests to try and catch missed option passing in future (during refactors, forgetting to pass in the options when refactoring has been a common oversight, they're easy to forget!)
All the best! S