Skip to content

feat: add optional validation to Model.save() #47

@Einswilli

Description

@Einswilli

Currently, full_clean() must be called manually before save() to validate field constraints.

Goal: Add a validate: bool = False parameter to Model.save(). If True, it should trigger full_clean() before proceeding with the database write.

Implementation hint: Modify ryx/models.py's save method.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions