Skip to content

Merge upstream changes #6

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 20 commits into from
Oct 3, 2022
Merged

Merge upstream changes #6

merged 20 commits into from
Oct 3, 2022

Conversation

cseufert
Copy link
Member

@cseufert cseufert commented Oct 3, 2022

No description provided.

thisispiers and others added 7 commits April 20, 2021 14:58
…-2#201)

* Level-2#200 - Expand shareInstances test to replicate propagation issue

* Level-2#200 - Fix issue where 'shareInstances' resolve but fail to propagate

Because `$share` is passed by reference to `matchParam()`, and
`matchParam()` removes matching objects from its `$search` array,
instances may be removed from `$share` before it is passed to `expand()`
or `create()`. Depending on the order of constructor parameters and the
relative placement of `shareInstances` dependencies in the object tree,
this may result in multiple instances of these dependencies being
created.

Fixed by passing a copy of the `$share` array to `matchParam()`.
@cseufert cseufert changed the title Level 2 main Merge upstream changes Oct 3, 2022
@cseufert cseufert merged commit 9b54e76 into main Oct 3, 2022
@cseufert cseufert deleted the level-2-main branch October 3, 2022 02:39
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.

4 participants