[dotnet] Enable Nullable Reference Types#15354
[dotnet] Enable Nullable Reference Types#15354RenderMichael merged 10 commits intoSeleniumHQ:trunkfrom
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 |
nvborisenko
left a comment
There was a problem hiding this comment.
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
nullableattribute to Bazel build rules for C# projects.Updated
WebDriver.csprojto 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