You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this image, the exported moudle name is 'CasbinORMAdapter', different from examples 'CasbinAdapter'.
I try it in my Centos, will error with 'not found CasbinAdapter module'.
The export name is right?
The text was updated successfully, but these errors were encountered:
You would need to import it by require("CasbinORMAdapter"). Also, I feel the current naming keeps the file name smaller (CasbinAdapter.lua) while still providing the entire name while importing (CasbinORMAdapter). We could change this if needed.
---- Replied Message ----
From
Rushikesh ***@***.***>
Date
8/7/2022 20:39
To
***@***.***>
Cc
***@***.***>
,
***@***.***>
Subject
Re: [casbin-lua/4daysorm-adapter] moude name 'CasbinORMAdapter' is different from examples 'CasbinAdapter' (Issue #2)
You would need to import it by require("CasbinORMAdapter"). Also, I feel the current naming keeps the file name smaller (CasbinAdapter.lua) while still providing the entire name while importing (CasbinORMAdapter). We could change this if needed.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
In this image, the exported moudle name is 'CasbinORMAdapter', different from examples 'CasbinAdapter'.
I try it in my Centos, will error with 'not found CasbinAdapter module'.
The export name is right?
The text was updated successfully, but these errors were encountered: