Skip to content

Backwards compatibility of AssociationRecord and PcSaftRecord#45

Merged
prehner merged 2 commits intomainfrom
serde_compat
Aug 25, 2022
Merged

Backwards compatibility of AssociationRecord and PcSaftRecord#45
prehner merged 2 commits intomainfrom
serde_compat

Conversation

@prehner
Copy link
Copy Markdown
Contributor

@prehner prehner commented Aug 16, 2022

With the changes to the association contribution, the old parameter files became unusable. This is dangerous because instead of providing an error message, the code would simply not read the association parameters and therefore produce wrong results.

This PR changes the (de-)serialization of AssociationRecord and PcSaftRecord so that it correctly deserializes from old parameter files while keeping the new internal structure introduced in #27 .

@prehner prehner merged commit 7e6f536 into main Aug 25, 2022
@prehner prehner deleted the serde_compat branch August 25, 2022 09:02
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.

1 participant