-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[dotnet] Enable Nullable Reference Types #15354
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
[dotnet] Enable Nullable Reference Types #15354
Conversation
PR Reviewer Guide 🔍(Review updated until commit 9a1f270)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 9a1f270
Previous suggestions✅ Suggestions up to commit 74a78fc
|
@nvborisenko As part of finishing the nullable reference type work, this PR removes Could this interfere with any changes you may have open? Could you also review the |
Failures are unrelated: //java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextInspectorTest
//java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextInspectorTest-chrome
//java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextInspectorTest-chrome-remote
//java/test/org/openqa/selenium/bidi/browsingcontext:BrowsingContextInspectorTest-remote
//javascript/node/selenium-webdriver:test-bidi-browsingcontext-inspector-test.js-chrome
//javascript/node/selenium-webdriver:test-bidi-browsingcontext-inspector-test.js-firefox
//py:common-chrome-bidi-test/selenium/webdriver/common/bidi_tests.py
//rb/spec/integration/selenium/webdriver:driver-chrome
//rb/spec/integration/selenium/webdriver:driver-chrome-remote
//rb/spec/integration/selenium/webdriver:driver-firefox-beta
//rb/spec/integration/selenium/webdriver:select-chrome-remote |
For simplicity of review, the only changes outside of removing dotnet/private/executable_assembly.bzl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally! Great job, @RenderMichael . There are some warnings, will review it later. Let's land it!
* [dotnet] Enable Nullable Reference Types * Remove nullable enable * fix build * Add nullable handling to `executable_assembly.bzl` * Fix format build * Enable nullable on .NET Standard 2.0 * fix comment formatting * whitespace
User description
Description
Enable Nullable Reference Types
Motivation and Context
Fixes #14640
Types of changes
Checklist
PR Type
Enhancement
Description
Enabled nullable reference types in the .NET WebDriver project.
Added
nullable
attribute to Bazel build rules for C# projects.Updated
WebDriver.csproj
to configure nullable contexts for different target frameworks.Changes walkthrough 📝
3 files
Added `nullable` attribute to C# executable assembly rule.
Configured nullable context in Bazel build for WebDriver.
Enabled nullable reference types in project file.
101 files