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

Fix #60, #61, #70 #82

Merged
merged 12 commits into from
Jul 17, 2020
Merged

Fix #60, #61, #70 #82

merged 12 commits into from
Jul 17, 2020

Conversation

worldbeater
Copy link
Collaborator

@worldbeater worldbeater commented Jul 16, 2020

What kind of change does this PR introduce?

In this PR, the fixes described in #60 and #61 were implemented, as well as the test cases for them. Huge thanks to @ins0mniaque for providing these high-quality bug reports and solutions. Also, an extra .ObserveOn() added to this.IsValid() extension method implementation should resolve #70 (for 100% resolution this PR addresses #31 as well)

In addition, with this PR we start using IEnumerable<IValidationComponent> in BindValidation instead of a ReadOnlyObservableCollection, based on the information provided in #31 (comment). This should finally resolve the issues with ISchedulers described in #31

What might this PR break?

Hopefully nothing.

@codecov
Copy link

codecov bot commented Jul 16, 2020

Codecov Report

Merging #82 into main will increase coverage by 3.52%.
The diff coverage is 73.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   38.66%   42.18%   +3.52%     
==========================================
  Files          18       19       +1     
  Lines         763      768       +5     
  Branches      104      104              
==========================================
+ Hits          295      324      +29     
+ Misses        456      434      -22     
+ Partials       12       10       -2     
Impacted Files Coverage Δ
...lidation/Extensions/ValidationContextExtensions.cs 23.52% <30.76%> (+2.31%) ⬆️
.../Extensions/ValidationContextMultipleExtensions.cs 27.77% <42.85%> (+4.24%) ⬆️
...eactiveUI.Validation/Contexts/ValidationContext.cs 88.23% <93.33%> (+0.93%) ⬆️
...UI.Validation/Components/BasePropertyValidation.cs 79.74% <100.00%> (+1.26%) ⬆️
...dation/Components/ModelObservableValidationBase.cs 76.08% <100.00%> (+4.34%) ⬆️
...veUI.Validation/Extensions/ExpressionExtensions.cs 100.00% <100.00%> (ø)
...eUI.Validation/Helpers/ReactiveValidationObject.cs 91.66% <100.00%> (+0.49%) ⬆️
...idation/Extensions/SupportsValidationExtensions.cs 45.45% <0.00%> (+45.45%) ⬆️
... and 1 more

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 915b47a...7b88694. Read the comment docs.

@worldbeater worldbeater marked this pull request as ready for review July 16, 2020 22:20
@worldbeater worldbeater requested a review from a team July 16, 2020 22:20
@glennawatson
Copy link
Collaborator

Do you mind bumping to API generator nuget to latest while here too. Will take care of other outstanding pr

@worldbeater
Copy link
Collaborator Author

worldbeater commented Jul 17, 2020

Done upgrading the generator! (#81)

@glennawatson glennawatson merged commit a6af621 into main Jul 17, 2020
@glennawatson glennawatson deleted the scheduling-fixes branch July 17, 2020 13:10
@reactiveui reactiveui locked as resolved and limited conversation to collaborators Nov 26, 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.

[BUG] UIKit.UIKitThreadAccessException in iOS as canExecute: this.IsValid() doesn't tick in MainThread
2 participants