Skip to content
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

feat: Add Matching Funcs to IEnforcer interface #339

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

zredinger-ccc
Copy link
Contributor

The IEnforcer did not have the AddMatchingFunc, AddDomainMatchingFunc, AddNamedMatchingFunc, or AddNamedDomainMatchingFunc in its interface. These are also returning the enforcer which isn't consistent with the Go implementation and seems unnecessary unless you are looking to chain the funcs.

@casbin-bot
Copy link
Member

@sagilio please review

@hsluoyz hsluoyz mentioned this pull request Feb 12, 2024
@hsluoyz hsluoyz changed the title refactor: Add Matching Funcs to IEnforcer interface feat: Add Matching Funcs to IEnforcer interface Feb 13, 2024
@hsluoyz hsluoyz merged commit befbb33 into casbin:master Feb 13, 2024
8 checks passed
Copy link

🎉 This PR is included in version 2.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants