v1.24
Changes
- Added support for
Union
types. It's recommended to place more complex variant types at first place likeUnion[Dict[int, int], List[int]]
notUnion[List[int], Dict[int, int]]
. When optional type validation is implemented it will be possible not to follow this rule. - It is now possible to use
serialize
anddeserialize
options for any third-party types andSerializableType
classes if you need it for some reason.