We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. Coverlet allows for exclusion of code having specific attributes, such as
dotnet test "My.csproj" -p:ExcludeByAttribute=\"GeneratedCodeAttribute,CompilerGeneratedAttribute\"
But currently this attribute doesn't exist on the generated code, like other source generators such as the .NET Regex source generator.
Describe the solution you'd like Add GeneratedCodeAttribute to generated classes.
Describe alternatives you've considered I've tried using file exclusions like:
dotnet test "My.csproj" -p:ExcludeByAttribute=\"GeneratedCodeAttribute,CompilerGeneratedAttribute\" -p:ExcludeByFile=\"**/*.g.cs\"
But mapperly generated code still shows up in coverage reports.
Along with messages the the related .g.cs file no longer exists.
The text was updated successfully, but these errors were encountered:
Feel free to open a PR implementing this. Some starting points:
Riok.Mapperly.Emit.SourceEmitter
Sorry, something went wrong.
🎉 This issue has been resolved in version 3.4.0-next.3 🎉
The release is available on:
v3.4.0-next.3
Your semantic-release bot 📦🚀
🎉 This issue has been resolved in version 3.4.0 🎉
v3.4.0
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Coverlet allows for exclusion of code having specific attributes, such as
But currently this attribute doesn't exist on the generated code, like other source generators such as the .NET Regex source generator.
Describe the solution you'd like
Add GeneratedCodeAttribute to generated classes.
Describe alternatives you've considered
I've tried using file exclusions like:
But mapperly generated code still shows up in coverage reports.
Along with messages the the related .g.cs file no longer exists.
The text was updated successfully, but these errors were encountered: