Rafaeruo / pkl-csharp

PKL lang bindings for C#, still WIP
Apache License 2.0
31 stars 1 forks source link

Initial idea around source generator for building types from pkl #1

Closed jeremyvaartjes closed 4 months ago

jeremyvaartjes commented 4 months ago

At the moment this won't actually generate real source code and only creates a fixed class structure. The main piece here is the wrapping processing code that sets up the code gen to process each file we would want to transform.

Rafaeruo commented 4 months ago

I just noticed I'm getting this warning

'PklGenerator.PklSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'(RS1036)

Do you think it would make sense to add that property? If not then I think we should supress it.