art049 / odmantic

Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
http://art049.github.io/odmantic
ISC License
1.07k stars 94 forks source link

Schema Versioning Pattern #217

Open Kludex opened 2 years ago

Kludex commented 2 years ago

Feature request

Does it makes sense to implement the Schema Versioning Pattern on ODMantic?

Context

People look interested in this: https://www.mongodb.com/community/forums/t/migration-tool-for-python/6344

Oliversinn commented 2 months ago

I think a migrations implementation would be great. Currently I'm facing so many issues when I have to change my schemas due to fields that are unset or when I change the field key_name.