Skip to content

Conversation

@cabauman
Copy link
Contributor

@cabauman cabauman commented Aug 2, 2020

What kind of change does this PR introduce?

Fixes #2474, Fixes #2476

What is the current behavior?

BindTo and OneWayBind silently (but logged) stop working when attempting to assign null.

What is the new behavior?

Restores previous behavior, before regression: allows null to be assigned.

What might this PR break?
Nothing.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

@cabauman cabauman requested a review from a team August 2, 2020 15:57
Copy link
Contributor

@glennawatson glennawatson left a comment

Choose a reason for hiding this comment

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

Can you add a fourth lambda parameter test for one-way bind

@codecov
Copy link

codecov bot commented Aug 2, 2020

Codecov Report

Merging #2477 into main will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2477      +/-   ##
==========================================
+ Coverage   51.86%   51.88%   +0.02%     
==========================================
  Files         114      114              
  Lines        4525     4525              
  Branches      792      792              
==========================================
+ Hits         2347     2348       +1     
+ Misses       1950     1949       -1     
  Partials      228      228              
Impacted Files Coverage Δ
.../Bindings/Property/PropertyBinderImplementation.cs 73.45% <ø> (ø)
...ctiveUI/Bindings/Property/PropertyBindingMixins.cs 87.50% <0.00%> (+4.16%) ⬆️

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 2a6cd06...838beaa. Read the comment docs.

@cabauman cabauman requested a review from glennawatson August 2, 2020 16:42
@glennawatson glennawatson merged commit 7cf3b9b into main Aug 2, 2020
@glennawatson glennawatson deleted the fix/bindto-and-onewaybind branch August 2, 2020 21:40
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OneWayBind Null Value throws Silent Bind Failure

3 participants