Skip to content

Fix nullable annotations for OneWayBind #4010

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
Apr 15, 2025

Conversation

elem-74
Copy link
Contributor

@elem-74 elem-74 commented Apr 10, 2025

What kind of change does this PR introduce?
Fixes nullable annotations for OneWayBind

What is the current behavior?
#4009

What is the new behavior?
When the object you select is nullable, there is a warning for dereferencing it without nullcheck. If the object is not nullable, there is no warning.

What might this PR break?
Not sure, I'm not that familiar with the codebase, but I don't see what it could break.

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:
Let me know if I should improve the PR in any way.

@elem-74 elem-74 force-pushed the fixOneWayBindAnnotations branch from d983fb7 to 12b2467 Compare April 14, 2025 11:44
ChrisPulman
ChrisPulman previously approved these changes Apr 14, 2025
@ChrisPulman
Copy link
Member

Please check the tests all pass. Thank you.

@elem-74 elem-74 force-pushed the fixOneWayBindAnnotations branch from 3836c01 to 47ed078 Compare April 14, 2025 14:08
@elem-74 elem-74 force-pushed the fixOneWayBindAnnotations branch from 47ed078 to 2715d5f Compare April 14, 2025 14:12
Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.23%. Comparing base (d75f999) to head (aa5df66).
Report is 190 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4010      +/-   ##
==========================================
+ Coverage   59.03%   63.23%   +4.20%     
==========================================
  Files         160      137      -23     
  Lines        5847     5193     -654     
  Branches     1031      785     -246     
==========================================
- Hits         3452     3284     -168     
+ Misses       2007     1703     -304     
+ Partials      388      206     -182     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@elem-74
Copy link
Contributor Author

elem-74 commented Apr 15, 2025

It should be better now even though it seems the .editorconfig made my commit add a newline at the end of the .txt files

@ChrisPulman ChrisPulman merged commit 28b8302 into reactiveui:main Apr 15, 2025
3 checks passed
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.

3 participants