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

chore: fix catalog deserialization #4361

Merged

Conversation

wolf4ood
Copy link
Contributor

What this PR changes/adds

chore: fix catalog deserialization of offers field + test

Why it does that

bugfix

@wolf4ood wolf4ood self-assigned this Jul 12, 2024
@wolf4ood wolf4ood added the bug Something isn't working label Jul 12, 2024
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.90%. Comparing base (7f20ba5) to head (86db30b).
Report is 356 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4361      +/-   ##
==========================================
+ Coverage   71.74%   74.90%   +3.16%     
==========================================
  Files         919     1063     +144     
  Lines       18457    21296    +2839     
  Branches     1037     1166     +129     
==========================================
+ Hits        13242    15952    +2710     
- Misses       4756     4823      +67     
- Partials      459      521      +62     

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

@wolf4ood wolf4ood merged commit efdbb10 into eclipse-edc:main Jul 12, 2024
25 of 27 checks passed
@wolf4ood wolf4ood deleted the chore/fix_catalog_deserialization branch July 12, 2024 10:35
void verifySerialization() {
var catalog = createCatalog();

var json = typeManager.writeValueAsString(catalog);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we always use the JsonObjectFromCatalogTransformer to deserialize catalog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants