-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update casbin-orm-adapter model name #3
base: master
Are you sure you want to change the base?
Conversation
@conghuhu plz fix: |
@rushitote plz review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if we should do it this way, because then the module will need to be imported by require("CasbinAdapter")
- which is too general and doesn't specify what kind of adapter is this.
Instead we could rename the file to CasbinORMAdapter.lua
for consistency, what do you think?
OK, then I will continue to use CasbinORMAdapter |
@rushitote if this is the case, actually we have another ORM adapter: https://github.com/casbin-lua/luasql-adapter , so
|
@hsluoyz |
@conghuhu plz use this name: |
I think it's better to modify this piece to be consistent with the examples
Fix: #2