Skip to content

Conversation

@nicolas-grekas
Copy link
Member

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

Since SF3, inline definitions are first class citizen. I noticed that the GraphvizDumper does not inspect them. Here is the fix.

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Nov 6, 2018
@nicolas-grekas nicolas-grekas merged commit ebe6265 into symfony:3.4 Nov 6, 2018
nicolas-grekas added a commit that referenced this pull request Nov 6, 2018
…as-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[DI] fix GraphvizDumper ignoring inline definitions

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

Since SF3, inline definitions are first class citizen. I noticed that the GraphvizDumper does not inspect them. Here is the fix.

Commits
-------

ebe6265 [DI] fix GraphvizDumper ignoring inline definitions
@stof
Copy link
Member

stof commented Nov 6, 2018

The dumper also ignores the configurator of the service, while this creates a dependency between them. Do we want them to be listed ?

@nicolas-grekas nicolas-grekas deleted the di-fix-graphviz branch November 6, 2018 16:56
@nicolas-grekas
Copy link
Member Author

Correct, same for the factory BTW.

@fabpot fabpot mentioned this pull request Nov 16, 2018
This was referenced Nov 26, 2018
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.

3 participants