MelGrubb / BuilderGenerator

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

Ignore obsolete properties #45

Open MelGrubb opened 10 months ago

MelGrubb commented 10 months ago

Obsolete properties are being picked up, and backing properties and With methods are being generated for obsolete class members. If a project has WarningsAsErrors on, this will prevent compilation. Either don't generate code for the obsolete members at all, or make it an opt-in thing like internal members are.