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

Add tag for audit readers #6983

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

franmomu
Copy link
Member

Subject

Audit readers MUST be tagged with this tag so we can use a service locator instead of injecting the whole container in the next major version.

Ref: #6963

I am targeting this branch, because these changes are BC.

Changelog

### Added
- Added `sonata.admin.audit_reader` tag for Audit readers.
### Deprecated
- Deprecated not tagging an audit reader with the tag `sonata.admin.audit_reader`.

@franmomu franmomu added the minor label Mar 29, 2021
VincentLanglet
VincentLanglet previously approved these changes Mar 29, 2021
src/Model/AuditManager.php Outdated Show resolved Hide resolved
UPGRADE-3.x.md Outdated Show resolved Hide resolved
Audit readers MUST be tagged with this tag so we can use a service locator
instead of injecting the whole container in the next major version.
@franmomu franmomu force-pushed the create_audit_manager_tag branch from 891ba09 to 521de51 Compare March 29, 2021 15:41
@phansys phansys merged commit 8d5478b into sonata-project:3.x Mar 29, 2021
@phansys
Copy link
Member

phansys commented Mar 29, 2021

Thank you @franmomu!

@franmomu franmomu deleted the create_audit_manager_tag branch March 29, 2021 16:01
franmomu added a commit to franmomu/SonataDoctrineORMAdminBundle that referenced this pull request Mar 30, 2021
VincentLanglet pushed a commit to sonata-project/SonataDoctrineORMAdminBundle that referenced this pull request Mar 30, 2021
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