Closed zo0o0ot closed 3 years ago
Relevant StackOverflow: https://stackoverflow.com/questions/55492214/the-annotation-for-nullable-reference-types-should-only-be-used-in-code-within-a
Possible format of fix:
#nullable enable
string? message = "Hello World";
#nullable disable
When building, there's a warning message:
Warning: /home/runner/work/prospect-scraper-dt2021/prospect-scraper-dt2021/src/prospectScraper/MockDraftPick.cs(149,19): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/home/runner/work/prospect-scraper-dt2021/prospect-scraper-dt2021/src/prospectScraper/ProspectScraper.csproj]
It's annoying, and I'd like to fix that so it doesn't complain any more.