Skip to content
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: handle nullable correctly in nullable disabled contexts for generics and arrays #1029

Merged
merged 1 commit into from Jan 2, 2024

Conversation

latonz
Copy link
Contributor

@latonz latonz commented Dec 20, 2023

@latonz latonz self-assigned this Dec 20, 2023
@latonz latonz force-pushed the fix-nullable-generic-prop branch 3 times, most recently from d394204 to 9bcf75d Compare December 27, 2023 14:01
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (89403e0) 91.30% compared to head (0a2b804) 91.24%.

Files Patch % Lines
.../Riok.Mapperly/Helpers/NullableSymbolExtensions.cs 50.00% 2 Missing and 5 partials ⚠️
...Mapperly/Descriptors/UserMethodMappingExtractor.cs 94.73% 0 Missing and 2 partials ⚠️
...Descriptors/MappingBuilders/ParseMappingBuilder.cs 0.00% 1 Missing ⚠️
...bjectFactories/GenericSourceTargetObjectFactory.cs 50.00% 0 Missing and 1 partial ⚠️
src/Riok.Mapperly/Descriptors/SymbolAccessor.cs 97.22% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
- Coverage   91.30%   91.24%   -0.07%     
==========================================
  Files         220      220              
  Lines        7168     7184      +16     
  Branches      911      909       -2     
==========================================
+ Hits         6545     6555      +10     
- Misses        412      414       +2     
- Partials      211      215       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@latonz latonz force-pushed the fix-nullable-generic-prop branch 5 times, most recently from 4c5d707 to 6cf764d Compare December 29, 2023 02:36
@latonz latonz changed the title fix: use user implemented mapping correctly with a nullable-disabled generic property fix: handle nullable correctly in nullable disabled contexts for generics and arrays Dec 29, 2023
@latonz latonz requested a review from ni507 December 29, 2023 02:41
@latonz latonz marked this pull request as ready for review December 29, 2023 02:41
@latonz latonz merged commit 132b8cc into riok:main Jan 2, 2024
18 of 19 checks passed
@latonz latonz deleted the fix-nullable-generic-prop branch January 2, 2024 09:34
Copy link

github-actions bot commented Jan 6, 2024

🎉 This PR is included in version 3.4.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

R-abodyak pushed a commit to R-abodyak/mapperly that referenced this pull request Jan 18, 2024
Copy link

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants