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

Enable autowire and autoconfigure for sonata.user.admin.user service #1662

Closed
wants to merge 1 commit into from

Conversation

dmikhinev
Copy link

@dmikhinev dmikhinev commented Oct 21, 2023

Subject

Enable autowire and autoconfigure for sonata.user.admin.user service

I am targeting this branch, because changes are related to current version.

Changelog

### Added
- Enabled autowire and autoconfigure for sonata.user.admin.user service

@jordisala1991
Copy link
Member

Why should we enable autowire and autoconfiguration for this service if it already injects all dependencies and tags? I think this change is not needed.

@dmikhinev
Copy link
Author

@jordisala1991 what if i need to inject some additional services? For example file uploader service to upload user profile photo?

@VincentLanglet
Copy link
Member

@jordisala1991 what if i need to inject some additional services? For example file uploader service to upload user profile photo?

Then it's your service which will need autoconfigure, not the one defined by sonata no ?

Anyway, since none of our service use those tags, I think we should keep consistency.

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

Successfully merging this pull request may close these issues.

3 participants