Description
While Pydantic dataclasses have a __dataclass_fields__ attribute, their users may have validation logic, default_factory configuration, and other settings that msgspec does not enforce.
Rather than appearing to support these types but silently ignoring validation steps and defaults, it makes more sense to treat them as explicitly unsupported.
Description
While Pydantic dataclasses have a
__dataclass_fields__attribute, their users may have validation logic,default_factoryconfiguration, and other settings that msgspec does not enforce.Rather than appearing to support these types but silently ignoring validation steps and defaults, it makes more sense to treat them as explicitly unsupported.