Skip to content

Nullable fixes in non-public code#1064

Merged
EdwardCooke merged 14 commits intoaaubry:masterfrom
Kielek:towards-nullable
Apr 9, 2026
Merged

Nullable fixes in non-public code#1064
EdwardCooke merged 14 commits intoaaubry:masterfrom
Kielek:towards-nullable

Conversation

@Kielek
Copy link
Copy Markdown

@Kielek Kielek commented Aug 26, 2025

This PR removes a lot of warnings related to nullable annotations. All of them are related only to non-public contracts.

It can be fixed also for public classes, but it can be considered as a braking changes, so it should be candidate for separate PR.

While reviewing, you can consider commit by commit reviews.

Kielek added 14 commits August 26, 2025 09:05
there is a possibility that ToString methods return null
nll value will be correctly handled later in the code by Traverse method
reorder registration component, to make analyzer happy
the behavior should be the same, as it is lazy registration
reorder registration component, to make analyzer happy
the behavior should be the same, as it is lazy registration
remove redundant nullability, according compiler all cases are covered by non-null value
handle possibility when get method can be null
Handle case when Value can property can be null
ignore potential warning, either getter or setter needs to be available
@Kielek Kielek changed the title Nullable fixes in private/internal parts Nullable fixes in non-public code Aug 26, 2025
@Kielek Kielek marked this pull request as ready for review August 26, 2025 07:26
@Kielek
Copy link
Copy Markdown
Author

Kielek commented Aug 27, 2025

@aaubry, could you please review?

@Kielek
Copy link
Copy Markdown
Author

Kielek commented Sep 9, 2025

@EdwardCooke?

@RassK
Copy link
Copy Markdown

RassK commented Jan 14, 2026

Any updates here? Can we get it merged?

This was referenced Apr 10, 2026
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