smartsheet / smartsheet-csharp-sdk

Library that uses C# to connect to Smartsheet services.
Apache License 2.0
12 stars 6 forks source link

Suppress nullable context warnings by turning Nullable to annotation mode on in the csproj file. #69

Closed timothodge closed 4 months ago

timothodge commented 4 months ago

Working to reduce nullable warnings in the build process. Following this article by microsoft. https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references#nullable-contexts

Example error that is going away.

Screenshot 2024-05-02 at 11 45 58 AM

Before 265 warnings

Screenshot 2024-05-02 at 11 32 59 AM

After 54 warnings

Screenshot 2024-05-02 at 11 42 07 AM