Skip to content

Ignore Pydantic dataclasses #728

@charles-dyfis-net

Description

@charles-dyfis-net

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions