-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add source generator #281
base: master
Are you sure you want to change the base?
add source generator #281
Conversation
Codecov Report
@@ 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.
|
076c4ed
to
3121216
Compare
1c0219a
to
c15b24d
Compare
use ItemMetadata instead of global configuration
also add option for prefix
work-around for assembly mismatch and missing method exception when building in environments that have System.Collections.Immutable 5.0.0 loaded at source generator runtime
cfbe9c3
to
c4f8e4d
Compare
Is this still a viable PR? |
@DaveVdE it is more a PoC than a viable MVP, so I would say no. Feel free to take over this PR branch as a basis and add the missing MVP features. |
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.