Skip to content

feat: add adapter and debugLog constructors to DistributedEnforcer#515

Open
TheSecondReal0 wants to merge 1 commit intoapache:masterfrom
TheSecondReal0:distributed-debug
Open

feat: add adapter and debugLog constructors to DistributedEnforcer#515
TheSecondReal0 wants to merge 1 commit intoapache:masterfrom
TheSecondReal0:distributed-debug

Conversation

@TheSecondReal0
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds two missing constructors to the DistributedEnforcer class to support initialization with an enableLog flag. These constructors complete the DistributedEnforcer API by providing parity with the parent SyncedEnforcer class constructors.

Changes:

  • Added constructor accepting modelPath, Adapter, and enableLog parameters
  • Added constructor accepting Model, Adapter, and enableLog parameters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants