cmeeren / Facil

Facil generates F# data access source code from SQL queries and stored procedures. Optimized for developer happiness.
MIT License
140 stars 7 forks source link

Add generatedCodeAttribute to all code in the output file #61

Open Larocceau opened 3 months ago

Larocceau commented 3 months ago

.NET has a GeneratedCodeAttribute to flag code that is generated. Facil does not use it at the moment.

More information on the relevance can be found here: https://learn.microsoft.com/en-gb/archive/blogs/codeanalysis/correct-usage-of-the-compilergeneratedattribute-and-the-generatedcodeattribute

Larocceau commented 3 months ago

Just wanted to make sure that this is out there, might work on it myself at some point in the near future

cmeeren commented 3 months ago

Thanks! Would it be sufficient to add this to the top-level module/namespace? And is there any relevant F# tooling that makes use of this attribute?