rom-rb / rom-mongo

(Looking for a maintainer) MongoDB support for rom-rb
https://rom-rb.org
MIT License
33 stars 21 forks source link

Switch to driver for queries exclusively #21

Open solnic opened 7 years ago

solnic commented 7 years ago

It turned out origin gem has been merged into mongoid codebase and is now considered a private API. Because of this we need to rely only on the driver. If we want a fancy query DSL, we need to build it ourselves.

estolfo commented 7 years ago

The tests pass with these changes to remove origin and use the driver directly.

IzumiSy commented 7 years ago

Is there any plan to migrate to Mongoid from the current driver instead?.

solnic commented 7 years ago

@IzumiSy what would be the benefit of migrating to Mongoid?