Unique namespace specification #120
Labels
breaking change
This issue will incude some breaking changes
enhancement
Enhancement the exist feature
Milestone
A improvement in #101.
Description
Casbin has many extensions and it will more in the future, To avoid chaos we can provide a unique namespace specification suggestion. It will like this :
Core Abstractions => Casbin
Sample:
Casbin.IEnforcer
.Casbin.IModel
Core => Casbin.[Part Name]
Sample:
Casbin.Model.Assertion
.Casbin.Config.DefaultConfig
Extensions Abstractions => Casbin.Persist
Sample: "IAdapter" full type is
Casbin.Persist.IAdapter
Extensions => Casbin.[Extension Type Name].[Extension Name]
Sample: "EFCoreAdapter" full type are
Casbin.Adapter.EFCore.EFCoreAdapter
Sample: "RaftDispatcher" full type are
Casbin.Dispatcher.Raft.RaftDispatcher
Changes
Namespace changed (Breaking Changes):
NetCasbin.X
=>Casbin.X
Casbin.NET.Adapter.EFCore
=>Casbin.Adapter.EFCore
The text was updated successfully, but these errors were encountered: