msgspec
msgspec copied to clipboard
Support setting `strict=False` on specific fields
Description
Instead of globally setting strict=False on the decoder function/class, allow setting strict=False for specific fields. This way, we can get the non-strict conversions on some fields, and get strict conversions on the other fields.
That would be a great feature!