-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
fix: enable static user methods for instance mappers #364
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #364 +/- ##
==========================================
- Coverage 91.71% 91.65% -0.06%
==========================================
Files 109 126 +17
Lines 3379 3907 +528
Branches 438 543 +105
==========================================
+ Hits 3099 3581 +482
- Misses 189 215 +26
- Partials 91 111 +20
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all those great contributions 😊
I can't think of a scenario which triggers PartialInstanceMethodInStaticMapper / RMG019
. There is also no test for it, no idea why I added it in the first place 🤷 Feel free to remove it.
983df9d
to
655e93f
Compare
Ok, I've deleted the |
655e93f
to
78adfff
Compare
Resolve #200
BuildUserImplementedMapping
to allow static instance members.UserMethodTest
and renamed some other tests, deleting the unused snapshotsIs it possible to get the diagnostic
PartialInstanceMethodInStaticMapper
? It looks like line 83 should be impossible to hit in normal C# code because you can't have an instance method in a static class.