Skip to content

Standardize resolution of nested definitions everywhere#499

Merged
mnapoli merged 1 commit intomasterfrom
standardize-nested-definitions
Jun 4, 2017
Merged

Standardize resolution of nested definitions everywhere#499
mnapoli merged 1 commit intomasterfrom
standardize-nested-definitions

Conversation

@mnapoli
Copy link
Copy Markdown
Member

@mnapoli mnapoli commented Jun 4, 2017

Fix #498 and #488

In PHP-DI 5, definitions could be nested in some places (e.g. use a get() in an object definition, etc.). However it did not behave everywhere the same, for example it didn't work for sub-definitions in arrays.

Now in PHP-DI 6 all nested definitions will all be recognized and resolved correctly everywhere. Since #494 (compiled container) performance will not be affected so we can implement a more robust behavior.

@mnapoli mnapoli added this to the 6.0 milestone Jun 4, 2017
@mnapoli mnapoli force-pushed the standardize-nested-definitions branch from 62ca196 to 85c99a6 Compare June 4, 2017 14:05
…here

In PHP-DI 5, definitions could be nested in some places (e.g. use a get() in an object definition, etc.). However it did not behave everywhere the same, for example it didn't work for sub-definitions in arrays.

Now in PHP-DI 6 all nested definitions will all be recognized and resolved correctly everywhere. Since #494 (compiled container) performance will not be affected so we can implement a more robust behavior.
@mnapoli mnapoli force-pushed the standardize-nested-definitions branch from d5eec22 to c059f67 Compare June 4, 2017 14:08
@mnapoli mnapoli merged commit d7966f9 into master Jun 4, 2017
@mnapoli mnapoli deleted the standardize-nested-definitions branch June 4, 2017 14:14
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.

Standardize definition handling in nested definitions/arrays

1 participant