Skip to content

run pydantic validation before .update #576

Closed
@dearkafka

Description

@dearkafka

It would be nice if redis_om would run pydantic validation (to allow things like '@validator') before updating the model (when .update is called) so that it would prevent from using wrong types and making updated data unaccessible from index

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