Skip to content

Fix element count calculation issue#252

Merged
fh-ms merged 2 commits intomainfrom
fix-binary-exception
Mar 30, 2026
Merged

Fix element count calculation issue#252
fh-ms merged 2 commits intomainfrom
fix-binary-exception

Conversation

@fh-ms
Copy link
Copy Markdown
Contributor

@fh-ms fh-ms commented Mar 30, 2026

Adjusts the logic for calculating element counts to ensure accuracy. This resolves miscalculated values caused by earlier logic inaccuracies.

@fh-ms fh-ms requested a review from zdenek-jonas March 30, 2026 15:36
@fh-ms fh-ms added the bug Something isn't working label Mar 30, 2026
@fh-ms fh-ms requested a review from Copilot March 30, 2026 15:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the element-count mismatch reporting in the binary persistence layer to better reflect how many elements were actually iterated when serializing list/map-like structures.

Changes:

  • Adjusts the “iterated” element count calculation used in validatePostIterationState(...) when throwing BinaryPersistenceException.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fh-ms fh-ms merged commit 75f95f7 into main Mar 30, 2026
17 checks passed
@fh-ms fh-ms deleted the fix-binary-exception branch March 30, 2026 16:28
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.

3 participants