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

Spread widget properties in vdom #717

Merged
merged 2 commits into from
Apr 6, 2020

Conversation

agubler
Copy link
Member

@agubler agubler commented Apr 6, 2020

Type: bug

The following has been addressed in the PR:

Description:

Not spreading the properties in vdom when copying them to the wrappers properties can allow users to inadvertently mutate the property object so the diff fails and widgets are not updated as expected.

@@ -3487,6 +3487,35 @@ jsdomDescribe('vdom', () => {
});
});

it('should close properties', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

clone?

Copy link
Member Author

Choose a reason for hiding this comment

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

updated, thanks :D

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 6, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a3f69f0:

Sandbox Source
dazzling-cori-n634x Configuration

@codecov
Copy link

codecov bot commented Apr 6, 2020

Codecov Report

Merging #717 into master will not change coverage by %.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #717   +/-   ##
=======================================
  Coverage   97.75%   97.75%           
=======================================
  Files         120      120           
  Lines        6949     6949           
  Branches     1577     1577           
=======================================
  Hits         6793     6793           
  Misses        156      156           
Impacted Files Coverage Δ
src/core/vdom.ts 97.98% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32bab69...a3f69f0. Read the comment docs.

@agubler agubler merged commit 46c893e into dojo:master Apr 6, 2020
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.

None yet

2 participants