run pydantic validation before .update
dearkafka opened this issue · comments
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