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

Proposal issue 9868 #10148

Closed
wants to merge 1 commit into from
Closed

Proposal issue 9868 #10148

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented May 29, 2019

fixes services definition of pim_enrich.controller.category_tree.product to use param-based form-type

Description (for Contributor and Core Developer)

#9868

@ghost
Copy link
Author

ghost commented Jun 3, 2019

As we use Akeneo EE, I opened a ticket on EE Helpdesk in addition to this PR. I got the response, that the direkt use of classes-names instead of parameters in the dependency config was a technical decision. Thats why this code change is not valid and I will close the PR.

@jmleroux
Copy link
Contributor

Alas, all the DI is not migrated to "hard coded classes" but we will indeed stop using classname as parameters. More info can be found on Symfony Best practices: https://symfony.com/doc/3.4/best_practices/business-logic.html#service-no-class-parameter

@jmleroux
Copy link
Contributor

I made a PR to fix the documentation accordingly.

This pull request was closed.
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.

None yet

1 participant