casbin / mongodb-adapter

MongoDB adapter for Casbin

Home Page:https://github.com/casbin/casbin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using official MongoDB driver

akrantz01 opened this issue · comments

Are there any plans to move from mgo to the official MongoDB Driver? Seeing as it is officially supported by the MongoDB engineers, I think it would be a good idea. The migration guide can be found here.

Sorry for the late response. I think this is a very good idea. Can anyone make a PR about it?

Oh, no worries. I attempted to re-write it using the official driver around the time I first made this issue but ran into some problems with indexes. I'm not super familiar with MongoDB like I can use it for its most basic functionality, but after that, I'm pretty much clueless.

Fixed in: #21