-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
feat: add diagnostic for nested ignores #818
Conversation
Codecov Report
@@ Coverage Diff @@
## main #818 +/- ##
==========================================
+ Coverage 91.35% 91.38% +0.03%
==========================================
Files 202 202
Lines 6697 6721 +24
Branches 830 832 +2
==========================================
+ Hits 6118 6142 +24
Misses 388 388
Partials 191 191
📣 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 this PR, IMO two diagnostics is the way to go and is also the way Mapperly handles other similar diagnostics.
...Riok.Mapperly/Descriptors/MappingBodyBuilders/BuilderContext/MembersMappingBuilderContext.cs
Outdated
Show resolved
Hide resolved
...Riok.Mapperly/Descriptors/MappingBodyBuilders/BuilderContext/MembersMappingBuilderContext.cs
Show resolved
Hide resolved
32d0425
to
f84bf71
Compare
744c8df
to
7315c57
Compare
🎉 This PR is included in version 3.3.0-next.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 3.3.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Add diagnostic for nested ignores
Description
Mapperly does not support nested ignores. To prevent confusion, I've added 2 diagnostics that will warn the user when one is found.
IgnoredTargetMemberNotFound
/IgnoredSourceMemberNotFound
diagnostics will not be emitted.Fixes #815, #814
Checklist