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

Enable nullability for public api #856

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

Romfos
Copy link
Contributor

@Romfos Romfos commented Dec 15, 2024

Changes:

  • (breaking change) Enable nullability for public api
  • Adopt records for some types
  • (breaking change) Obsolete Arg.Compat

related ##830, #551

note: Nullability is still disabled for compatibility for types from "Compatibility" folder

@Romfos Romfos requested a review from dtchepak December 15, 2024 16:40
@Romfos Romfos marked this pull request as ready for review December 15, 2024 16:40
@Romfos Romfos mentioned this pull request Dec 15, 2024
13 tasks
Copy link
Member

@dtchepak dtchepak left a comment

Choose a reason for hiding this comment

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

Happy for you to merge this as-is. 👍 Thanks!

@@ -4,6 +4,7 @@
* Update target frameworks: .NET 8, .NET Standard 2.0.
* Obsolete api is removed
* CompatArg is marked as obsolete
* Nullability is enabled for public api for .NET Core TFMs
Copy link
Member

Choose a reason for hiding this comment

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

suggestion: would be good to add explanations for how to work around this for people that update to 6.x and find themselves getting nullability errors.

@@ -7,6 +7,7 @@
* [UPDATE] Mark as obsolete api CompatArg with pre c# 7.0 support
* [NEW] Added .NET 9 to test matrix
* [UPDATE] Migrate documentation to docfx platform. https://github.com/dotnet/docfx
* [UPDATE] Nullability is enabled for public api for .NET Core TFMs
Copy link
Member

Choose a reason for hiding this comment

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

nitpick: this should be [UPDATE][BREAKING] as per line 50. Also should do this for line 7.

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.

2 participants