Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@elringus
Copy link
Owner

@elringus elringus commented May 28, 2024

JSON serializer will now use type of the seriailzed properties or parameters instead of type of the value instances.

This fixes error when attempting to serialize properties or parameters under collections interfaces, which are assigned via collection expressions.

This also improves #138, making supported array types under tasks transfer without serialization; though an extra allocation is still required (compared to the scenario when .NET would natively support deeper nesting for marshaling hints), hence the issue is still tracked.

@codecov
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (3817bed) to head (bc20566).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #156   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           45        47    +2     
  Lines         1653      1642   -11     
  Branches       296       293    -3     
=========================================
- Hits          1653      1642   -11     

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

@elringus elringus merged commit df39df3 into main May 28, 2024
@elringus elringus deleted the fix/collection-expressions-serialization branch May 28, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.