Rick Drizin

Results 79 comments of Rick Drizin

Please check this sample: https://github.com/CodegenCS/Samples/tree/main/src/SampleSourceGenerator.SimplePocos That's a Source Generator, so it adds code dynamically during compilation. Is that what you wanted?

Well. I'm biased here - I believe the major feature of CodegenCS is the very precise indent control, so if you don't need (or don't want) to check in the...

I mean: there's no technical limitation or strong reason to not use CodegenCS as a Source Generator. It's just me that never had the time or need to explore that...

I've just published a nuget package with a source generator. Check latest commit (including the updates to the README doc) and let me know how it goes. In my experience...

@shmuelie I've also published a MSBuild Task. Would you like to test and let me know how it goes? Thanks

The library is very easy to extend: If you look at [QueryBuilder](https://github.com/Drizin/InterpolatedSql/blob/main/src/InterpolatedSql.Dapper/SqlBuilders/QueryBuilder/QueryBuilder.cs) you'll see it's a very simple class extending a more complex `QueryBuilder`. You could create your own class...

Looks like this is also related to PR https://github.com/Drizin/InterpolatedSql/pull/25 - some overloads were not passing `options` around. I'll close this for now, feel free to create the PR with the...

CodegenCS templates can read from any data source. You probably want to run the template on your PostBuild, reading (on your own) the generated DLLs using reflection. If you want...