Skip to content

feat: enable null reference type support #2146

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 56 commits into from
Mar 14, 2025
Merged

feat: enable null reference type support #2146

merged 56 commits into from
Mar 14, 2025

Conversation

MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Feb 13, 2025

This PR:

  • Adds null reference type support by enabling the nullable feature in the core and readers project
  • Annotates all properties and method parameters/return types with ? for nullable types
  • Fixes compiler warnings such as possible dereferences of null values.

Fixes #1202

@MaggieKimani1 MaggieKimani1 changed the title feat: enable NRT feat: enable null reference type support Feb 14, 2025
@MaggieKimani1 MaggieKimani1 marked this pull request as ready for review February 14, 2025 13:04
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Great work here!
I've only done a partial review at this point starting with the interfaces, since changes there will require reviewing implementations again.

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

We're making good progress here, here is another set of comments

Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thank you for the great work and the long haul on this one!!!

@baywet baywet enabled auto-merge (squash) March 14, 2025 13:34
@baywet baywet merged commit 96574ec into main Mar 14, 2025
10 of 13 checks passed
@baywet baywet deleted the feat/enable-NRT branch March 14, 2025 13:36
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
58.8% Coverage on New Code (required ≥ 80%)
28.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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.

Enable null reference types on next major version
2 participants