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

Housekeeping: Update Obsolete notation to fix warnings #3561

Merged
merged 8 commits into from Jul 8, 2023

Conversation

ChrisPulman
Copy link
Member

@ChrisPulman ChrisPulman commented Jun 22, 2023

What kind of change does this PR introduce?

Fix Obsolete warnings
Update code to remove warnings

What is the current behaviour?

many warnings exist for Obsolete code in Android targets
other warnings exist from running analysers

What is the new behaviour?

Set ObserveOnDispatcher() as Obsolete in favour of ObserveOn(RxApp.MainThreadScheduler) in WPF

Add Targets for Net7.0 to ReactiveUI.Drawing

remove DispatcherScheduler from WinForms

update dependency packages some are missed by dependabot
fix warnings from analysers

What might this PR break?

None expected

Please check if the PR fulfils these requirements

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

Other information:
Test added, ViewModelViewHost test is not possible due to deliberate exclusion from tests

Set ObserveOnDispatcher() as Obsolete in favour of ObserveOn(RxApp.MainThreadScheduler)

Add Targets for Net7.0 to ReactiveUI.Drawing

remove DispatcherScheduler from WinForms

update dependency packages
fix warnings from analysers
@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Patch coverage: 46.66% and project coverage change: +0.77 🎉

Comparison is base (36c40d7) 63.91% compared to head (b6b60be) 64.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3561      +/-   ##
==========================================
+ Coverage   63.91%   64.68%   +0.77%     
==========================================
  Files         157      157              
  Lines        5783     5762      -21     
==========================================
+ Hits         3696     3727      +31     
+ Misses       2087     2035      -52     
Impacted Files Coverage Δ
src/ReactiveUI.Fody/ObservableAsPropertyWeaver.cs 0.00% <0.00%> (ø)
...eactiveUI.Fody/ReactiveDependencyPropertyWeaver.cs 0.00% <0.00%> (ø)
src/ReactiveUI.Fody/ReactiveUIPropertyWeaver.cs 0.00% <0.00%> (ø)
...activeUI.Uwp/Common/AutoDataTemplateBindingHook.cs 95.00% <ø> (ø)
src/ReactiveUI.Uwp/Common/PlatformOperations.cs 0.00% <ø> (ø)
src/ReactiveUI.Uwp/Common/ReactiveUserControl.cs 90.90% <ø> (ø)
src/ReactiveUI.Uwp/Common/ViewModelViewHost.cs 84.48% <0.00%> (ø)
src/ReactiveUI.Uwp/Rx/Linq/DispatcherObservable.cs 0.00% <ø> (ø)
src/ReactiveUI/VariadicTemplates.cs 53.36% <ø> (ø)
src/ReactiveUI.Uwp/Common/RoutedViewHost.cs 86.53% <100.00%> (+0.09%) ⬆️
... and 2 more

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@glennawatson glennawatson merged commit 9d73fba into main Jul 8, 2023
2 of 3 checks passed
@glennawatson glennawatson deleted the CP_HouseKeeping branch July 8, 2023 09:12
@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 Jul 23, 2023
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.

None yet

2 participants