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

adds the missing NullForgiving operator comment #956

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

ebozduman
Copy link
Collaborator

Bumping Nullable.Extended.Analyzer from version 1.10.4539 to 1.14.6129 caused the build process to fail.
That is because the Analyzer checks the usage of NullForgiving operator and require a justification for each use case. If it cannot find the justification, then it throws an exception during the build process.
The justification is a simple comment next the code and it is supposed to start with // ! and gives some explanation about the use case.

Copy link

@shtripat shtripat left a comment

Choose a reason for hiding this comment

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

lgtm

@ebozduman ebozduman merged commit 7aefbc9 into minio:master Dec 15, 2023
7 checks passed
@ebozduman ebozduman deleted the NullForgiverOperatorFailure branch December 15, 2023 22:21
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