Skip to content
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

[BUGFIX release] Prevent cycle dependency with owner association. #18270

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Aug 15, 2019

Prior to this change, using assert.deepEqual(obj, ...) and expect(obj).to.deeply.equal(...) would end up printing all of the owner interface (including all of the private properties on the container and registry). This avoids stashing the owner object directly on the object (instead sharing it via WeakMap) which makes certain that the owner/container/register/etc is not emitted.

Prior to this change, using `assert.deepEqual(obj, ...)` and
`expect(obj).to.deeply.equal(...)` would end up printing all of the
owner interface (including all of the private properties on the
container and registry). This avoids stashing the owner object directly
on the object (instead sharing it via WeakMap) which makes certain that
the owner/container/register/etc is not emitted.
@rwjblue rwjblue merged commit 927852a into emberjs:master Aug 16, 2019
@rwjblue rwjblue deleted the owner-association branch August 16, 2019 12:41
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.

1 participant