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 ContextFilteredAdapter, ContextBatchAdapter, ContextUpdatableAdapter interfaces #1399

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

MuZhou233
Copy link
Contributor

By adding filtered, batch, update interfaces, make the ContextAdapter have equivalent definitions to Adapter

Fix #1397

@casbin-bot
Copy link
Member

@tangyang9464 @JalinWang please review

persist/adapter_filtered_context.go Outdated Show resolved Hide resolved
persist/batch_adapter_context.go Outdated Show resolved Hide resolved
persist/update_adapter_context.go Outdated Show resolved Hide resolved
persist/adapter_filtered_context.go Show resolved Hide resolved
persist/batch_adapter_context.go Show resolved Hide resolved
persist/update_adapter_context.go Show resolved Hide resolved
@hsluoyz hsluoyz changed the title feat: complement context adapter interface feat: add ContextFilteredAdapter, ContextBatchAdapter, ContextUpdatableAdapter interfaces Jun 4, 2024
@hsluoyz hsluoyz merged commit 75b90b0 into casbin:master Jun 4, 2024
11 checks passed
Copy link

github-actions bot commented Jun 4, 2024

🎉 This PR is included in version 2.90.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.

[Feature] Add the interface for FilteredAdapterCtx
3 participants