add source generator
Sorry for the delay. I had less time than expected. Here is at least a working POC (nuget package untested) with a global namespace setting.
Next, I will add test cases for multiple schema files and then also add all applicable command line options to the source generator. We will see how much code duplication will temporarily emerge from this and then may need to discuss refactoring e. g. configuration building or output writing to eliminate it again.
Codecov Report
Merging #281 (c4f8e4d) into master (38303c2) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #281 +/- ##
=======================================
Coverage 95.83% 95.83%
=======================================
Files 19 19
Lines 3360 3360
Branches 494 494
=======================================
Hits 3220 3220
Misses 81 81
Partials 59 59
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 38303c2...c4f8e4d. Read the comment docs.
Is this still a viable PR?
@DaveVdE it is more a PoC than a viable MVP, so I would say no. As much as I would like to spend time to make this a viable feature, realistically, it is not going to happen.
Feel free to take over this PR branch as a basis and add the missing MVP features.