-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Annotate nullability on HttpCommandExecutor
aside from Response
#14871
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
We should make a checkpoint, you created a lot of dependent PRs. I appreciate your contribution, but not so fast :D |
I'm doing my best to keep each PR completely isolated from the other ones, so they can take as much time as they need to merge. Some points I am more active, other times I will go days without any contributions. I am eager for the nullability to be project-wide! |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Annotates most of
HttpCommandExecutor
for nullability. This PR avoids theExecute
andCreateResponse
methods, because those may require bigger refactorings and those changes may need discussion. Everything in this PR should be straightforward.Motivation and Context
Contributes to #14640
Types of changes
Checklist
PR Type
enhancement
Description
HttpCommandExecutor
class to improve code safety and clarity.HttpResponseInfo
andDiagnosticsHttpHandler
.MemberNotNull
attribute to ensureclient
is initialized before use.Dispose
method.Changes walkthrough 📝
HttpCommandExecutor.cs
Enhance nullability annotations and refactor `HttpCommandExecutor`
dotnet/src/webdriver/Remote/HttpCommandExecutor.cs
HttpResponseInfo
with nullability checks.