Devolutions / mongodm-rs

A thin ODM layer for mongodb
27 stars 9 forks source link

Upgrade Mongodb rust driver to version 3.0.0 #29

Closed douggynix closed 1 week ago

douggynix commented 2 weeks ago

Hi All, Thanks for this great ODM layer for mongodb rust driver. Is there a plan to move to the new stable release version of rust mongodb driver 3.0.0: https://docs.rs/mongodb/3.0.0/mongodb/

There are some breaking changes from rust that may affect this ODM layer. it will be great to have a version of this ODM that's compatible with this one.

Thanks.

CBenoit commented 2 weeks ago

Hi! Thank you!

Yes, we are very likely to move to the new major version in the near future, but I can’t tell you when exactly. Also, if you have ideas on how this could be achieved, don’t hesitate to send a PR.

cc’ing my colleague @Samuel-B-D

douggynix commented 1 week ago

Hi! Thank you!

Yes, we are very likely to move to the new major version in the near future, but I can’t tell you when exactly. Also, if you have ideas on how this could be achieved, don’t hesitate to send a PR.

cc’ing my colleague @Samuel-B-D

Hi, I have just opened a PR that we can start working on : https://github.com/Devolutions/mongodm-rs/pull/ A lot of broken changes have been introduced in the new mongodb rust driver. Some methods have been refactored and some errors renamed. Feel free to have a look at that PR

CBenoit commented 1 week ago

Thanks for your help!