Skip to content

set_at_reference type catching #167

@JacobHast

Description

@JacobHast

Currently set_at_reference allows you to overwrite an attribute with a wrong type in a way that cannot be caught by type-checkers. Could we have, e.g., a disallow_type_mismatch bool kwarg which checks for matching types and raises an error if a non-matching type is provided as value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions