-
Notifications
You must be signed in to change notification settings - Fork 997
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
Microsoft.Identity.Web - Implement C# 8.0 nullable standard #249
Comments
@sujayvsarma can you be more specific about which parameters you'd want to be null? |
Not that I would want to make null, but it creates a distinction between what the code would consider to maybe null or will never be null. For example, in
Note the Simply add this to your
Fixing those suggestions is a breaking change. |
Fyi, I have managed to implement these suggestions and managed to remove & clean up some code as well. If you're interested, I'll hook up a PR or send you the zip somewhere ? |
Sure, @sujayvsarma, feel free to propose a PR. |
issue tracked in microsoft identity web repo: AzureAD/microsoft-identity-web#15 |
Even if the project is not C# 8.0, consider implementing the
nullable
standard by suffixing?
to all parameters and returns that may beNULL
.This will be a breaking changing internal to the library & to consuming code. Therefore, consider publishing the changes only during a major cycle.
The text was updated successfully, but these errors were encountered: