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

Register Doctrine filter automatically (e.g. via CompilerPass) #4

Open
janopae opened this issue Apr 16, 2021 · 0 comments
Open

Register Doctrine filter automatically (e.g. via CompilerPass) #4

janopae opened this issue Apr 16, 2021 · 0 comments

Comments

@janopae
Copy link
Member

janopae commented Apr 16, 2021

Zum Punkt

The filter class needs to be registered manually.

# src/config.yml
doctrine:
    orm:
        filters:
            visibility: Webfactory\VisibilityFilterBundle\Filter\StrategyConsideringSQLFilter

Aus der README:

Muss man das im Projekt schreiben? Geht das nicht über z.B. einen CompilerPass (idk!)? Falls man die Config wirklich braucht, sollte sie dann nicht im Bundle leben und man hier nur die Bundle-Config einbinden müssen? Dann müsste man z.B. auch nicht auf den Namen Acht geben/den erklären?

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

No branches or pull requests

1 participant