Skip to content

[Components][DependencyInjection] do not reference services in parameters #4222

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

Merged
merged 1 commit into from
Sep 16, 2014

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Sep 13, 2014

Q A
Doc fix? yes
New docs? no
Applies to all
Fixed tickets #4211

@stof
Copy link
Member

stof commented Sep 13, 2014

we need to make sure that this syntax is still described when referencing services in arguments though

@xabbuh
Copy link
Member Author

xabbuh commented Sep 13, 2014

This should be covered with the Types of Injection chapter.

fabpot added a commit to symfony/symfony that referenced this pull request Sep 13, 2014
… XSD (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[DependencyInjection] remove `service` parameter type from XSD

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | symfony/symfony-docs#4222

Referencing a service in a parameter doesn't work and will lead to an error when the configuration is loaded (see symfony/symfony-docs#4211).

Commits
-------

7333c2d remove `service` parameter type from XSD
@weaverryan
Copy link
Member

Thanks for the detective work and fix for this "extra" feature :). Cheers!

@weaverryan weaverryan merged commit 4b10abf into symfony:2.3 Sep 16, 2014
weaverryan added a commit that referenced this pull request Sep 16, 2014
… in parameters (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Components][DependencyInjection] do not reference services in parameters

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #4211

Commits
-------

4b10abf do not reference services in parameters
@xabbuh xabbuh deleted the issue-4211 branch September 16, 2014 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants