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 saving legacy summaries #423

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DaleStan
Copy link
Collaborator

@DaleStan DaleStan commented Feb 24, 2025

As reported in Discord, the legacy summary page cannot be saved.

I broke the serialization rules, and I don't think it's the first time, so I also added some tests to watch the serializable types and complain when they change and/or are out of compliance.

SerializationTreeChangeDetection.TreeHasNotChanged might turn out to be too aggressive, but it seemed like a good idea.

Also add tests to help ensure all apparently serializable types remain serializable.
@DaleStan DaleStan requested a review from veger February 24, 2025 01:25
@DaleStan DaleStan requested a review from shpaass as a code owner February 24, 2025 01:25
Copy link
Owner

@shpaass shpaass left a comment

Choose a reason for hiding this comment

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

Thank you for the fix! Especially the tests.

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.

3 participants