Skip to content

Ensure that resources are correctly initialised even if the resource already has been previous created. #861

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 2 commits into from
Nov 25, 2020

Conversation

agubler
Copy link
Member

@agubler agubler commented Nov 25, 2020

Type: bug

The following has been addressed in the PR:

Description:

When a resource is reused with the same id in a newly created widget instance then the we need to process the init options.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 25, 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 02446f6:

Sandbox Source
dojo/dojo-codesandbox-template Configuration

@codecov
Copy link

codecov bot commented Nov 25, 2020

Codecov Report

Merging #861 (02446f6) into master (e74d23b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #861   +/-   ##
=======================================
  Coverage   94.71%   94.72%           
=======================================
  Files         127      127           
  Lines        8084     8092    +8     
  Branches     1884     1888    +4     
=======================================
+ Hits         7657     7665    +8     
  Misses        427      427           
Impacted Files Coverage Δ
src/core/middleware/resources.ts 98.60% <100.00%> (+0.02%) ⬆️

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 e74d23b...02446f6. Read the comment docs.

@agubler agubler changed the title Failing unit test for the re-using a resource scenario Ensure that resources are correctly initialised even if the resource already has been previous created. Nov 25, 2020
@agubler agubler merged commit 36bcbe1 into dojo:master Nov 25, 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.

2 participants