Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

I tried creating an anonymous inline service with a DefinitionDecorator, but that did not work.
Here is the fix.

@nicolas-grekas nicolas-grekas force-pushed the fix-decorated-services branch from f46fb34 to b781adb Compare June 25, 2015 08:53
@nicolas-grekas nicolas-grekas changed the title [DependencyInjection] Fix deep DefinitionDecorator resolving [DependencyInjection] Fail when dumping a Definition with no class nor factory Jun 25, 2015
@nicolas-grekas
Copy link
Member Author

ping @symfony/deciders

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...which have no class...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, fixed

@nicolas-grekas nicolas-grekas force-pushed the fix-decorated-services branch from b781adb to 23ad4ad Compare June 28, 2015 07:23
@fabpot
Copy link
Member

fabpot commented Jun 28, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 23ad4ad into symfony:2.3 Jun 28, 2015
fabpot added a commit that referenced this pull request Jun 28, 2015
…no class nor factory (nicolas-grekas)

This PR was merged into the 2.3 branch.

Discussion
----------

[DependencyInjection] Fail when dumping a Definition with no class nor factory

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

I tried creating an anonymous inline service with a DefinitionDecorator, but that did not work.
Here is the fix.

Commits
-------

23ad4ad [DependencyInjection] Fail when dumping a Definition with no class nor factory
@nicolas-grekas nicolas-grekas deleted the fix-decorated-services branch June 28, 2015 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants