- 
                Notifications
    You must be signed in to change notification settings 
- Fork 117
Open
Description
Description
For creating immutable types, msgspec already supports serializing/parsing: frozenset, tuple, dataclass(frozen=True).
The only primary data type missing here is a dict. The immutable variant of a dict is MappingProxyType.
Thanks to the extensibility, it's possible today to create a custom encode/decoder for this type. However, it would be great to include this as a supported, builtin type
Metadata
Metadata
Assignees
Labels
No labels