-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for database other than mongodb #1
Comments
No concrete plans, yet, but this would be a welcome change. I think the interface suggestion is the quickest way to add support right now. I'm currently investigating in a DB abstraction, which would be ideal for this (dotter), but it's still in the experimentation phase. As for the |
The databaseURL is a good idea. So I'll do it this way then. A db abstraction layer would definitely be great although tricky with NoSQL. |
Yeah, the abstraction layer will definitely have to be limited to simple operations (at least at first), so there would still be at least some DB specific code. |
How would you handle the entity abstraction (User, AuthInfo, Group)? Currently they have properties with BSON types like
How would you go about it? |
I've discovered the serialization customization methods and implemented those. |
Are there any plans to support other databases? I'm writing an application using Redis and need to add user management. Now I would like to implement Redis support for userman but want to discuss the approach. The most straightforward option would be to turn the
UserManController
into an interface and then implement various concrete classes for each supported db. TheUserManSettings
would need to be extended with some additional properties (e.g. databaseIndex for Redis).The text was updated successfully, but these errors were encountered: