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

Introducing some nullable reference type support on public APIs #6757

Merged
merged 6 commits into from Jun 12, 2023

Conversation

danielmarbach
Copy link
Contributor

@danielmarbach danielmarbach commented Jun 6, 2023

Implements nullable reference type support on some of the more important classes in the public API.

Includes additional approval tests (which were augmented in #6772) to keep track of what public types are not yet annotated, and to make sure that the nullable-supporting API interface does not regress.

@danielmarbach
Copy link
Contributor Author

@DavidBoike the usage of the guard class requires an update to make this PR compile

@DavidBoike
Copy link
Member

@danielmarbach Yep, adjusted that, and added an approval test to list types that do not have nullable annotations. That list should shrink over time, growth should not be approved.

@DavidBoike DavidBoike marked this pull request as ready for review June 12, 2023 17:38
@DavidBoike DavidBoike added this to the 8.1.0 milestone Jun 12, 2023
@DavidBoike DavidBoike merged commit 11c8799 into master Jun 12, 2023
3 checks passed
@DavidBoike DavidBoike deleted the nullable branch June 12, 2023 17:53
@danielmarbach
Copy link
Contributor Author

Nice!

@DavidBoike DavidBoike changed the title Introducing some nullable ref type support on public APIs Introducing some nullable reference type support on public APIs Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants