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

Replace Doctrine subscriber by listener #54

Merged
merged 3 commits into from
Mar 24, 2024

Conversation

trompette
Copy link
Owner

The library is leveraging a Doctrine subscriber to configure automatically the underlying DBAL schema:

->addTag('doctrine.event_subscriber')

This automatic schema configuration is not working anymore with Symfony 7.

The reason can be found in the upgrade documentation:

Remove support for Doctrine subscribers in ContainerAwareEventManager, use listeners instead

Fixes #52.

@trompette trompette added the Bug Something isn't working label Mar 24, 2024
@trompette trompette added this to the 5.0.0 milestone Mar 24, 2024
@trompette trompette merged commit 216a222 into master Mar 24, 2024
16 checks passed
@trompette trompette deleted the replace-doctrine-subscriber-by-listener branch March 24, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony 7 compatibility and configureSchema
1 participant