Skip to content

Fix serialization metadata becoming invalid#396

Merged
LordMidas merged 3 commits into
developmentfrom
fix-serialization-metadata-becoming-invalid
Jul 16, 2024
Merged

Fix serialization metadata becoming invalid#396
LordMidas merged 3 commits into
developmentfrom
fix-serialization-metadata-becoming-invalid

Conversation

@LordMidas

Copy link
Copy Markdown
Member

No description provided.

@LordMidas LordMidas requested review from Enduriel and TaroEld July 15, 2024 06:59

@Enduriel Enduriel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Actually ultimately quite a clean solution even if the doubled onBeforeSerialize scares me a bit, I feel like this might be able to cause issues but all the scenarios I could come up with are covered, a more 'correct' approach would be to use a wrapper around the real metadata during onBeforeSerialize which duplicates everything into an emulator, but that might not be worth the work as this is quite clean

@LordMidas LordMidas force-pushed the fix-serialization-metadata-becoming-invalid branch from 437d65f to 06b55b7 Compare July 16, 2024 19:43
@LordMidas LordMidas merged commit ea02237 into development Jul 16, 2024
@LordMidas LordMidas deleted the fix-serialization-metadata-becoming-invalid branch July 16, 2024 19:44
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