Skip to content

Conversation

@pingelit
Copy link
Owner

During usage of the package, it was found, that defaulted members must be optional for the reflect-cpp deserialization to work correctly. If they are not optional, the deserialization can fail if the defaulted member is not in the input data.

@pingelit pingelit self-assigned this Sep 10, 2025
During usage of the library, it was found that members with default values
must be optional, otherwise deserialization fails if the member is missing
in reflect-cpp.
@pingelit pingelit added the bug Something isn't working label Sep 10, 2025
@codecov
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.28%. Comparing base (4c94d06) to head (6522782).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   78.28%   78.28%           
=======================================
  Files          11       11           
  Lines         935      935           
  Branches      203      203           
=======================================
  Hits          732      732           
  Misses        191      191           
  Partials       12       12           
Flag Coverage Δ
3.10 74.34% <ø> (ø)
3.11 74.34% <ø> (ø)
3.12 74.34% <ø> (ø)
3.13 74.34% <ø> (ø)
3.9 74.34% <ø> (ø)
Windows 94.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pingelit pingelit merged commit a3952e1 into main Sep 11, 2025
17 checks passed
@pingelit pingelit deleted the feature/optional-with-default branch September 11, 2025 13:48
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.

2 participants