Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.16.0
-
None
-
Patch Available
Description
This is sort of an follow-up to THRIFT-5479.
The initially chosen solution was to add an <autogenerate> tag to each generated C# source file, because otherwise the analysis would drop a whole lot of messages onto the user. One major reason behind this design was that it does not break compatibility.
It turned out that that actually may do more harm than good, because of this issue, which has a really great potential to lead the developer into a false security, believing what the IDE tells, that values in some cases are not null - but what it really should say is "I did not analyze this code so I cannot safely tell anything".
Hence, we should have better support for it.
Attachments
Issue Links
- is duplicated by
-
THRIFT-5578 #nullable disable collides with C# lang versions < 8 (error CS8370)
- Closed
- links to