-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deprecate more service aliases #7010
Deprecate more service aliases #7010
Conversation
Follow-up of sonata-project#7001
b46cef5
to
005a1b9
Compare
How do you know that these one are not supposed to be in the public API ? But Pool or AdminObjectAclManipulator yes ? |
I meant this part:
In SonataAdminBundle/src/Controller/CRUDController.php Lines 74 to 88 in c1b3acf
The way it works is because it fetches the services that will be in the container from there, so those are the ones I was leaving (apart from the interfaces that I don't know if they are used). Looking at the documentation we can maybe use https://symfony.com/doc/4.4/service_container/service_subscribers_locators.html#aliased-services and configure it through tags, I'll give it a try and we won't need anyone anymore I guess. |
I haven't tried too much, but looks like using tags, you have to define also parent tags (the ones from
So I think it's better if we leave it as it is. |
Thank you @franmomu |
Subject
It should have been included in #7001
I am targeting this branch, because these changes are BC.
Changelog