MelGrubb / BuilderGenerator

A source-generator-based implementation of the Builder pattern
https://melgrubb.github.io/BuilderGenerator/
MIT License
36 stars 8 forks source link

Nullable warnings #5

Closed MelGrubb closed 3 years ago

MelGrubb commented 3 years ago

The code is generating builders that look like my most recent iteration, but that wasn't using the nullable reference types in recent C# versions. In order for consumers to be able to use "warnings as errors", the generated code must be "clean" in this regard, and both implement and honor the #nullable directive.