ANNIEsoft / ToolAnalysis

Other
10 stars 53 forks source link

Add versioning for backward compatibility #257

Closed atcsutton closed 6 months ago

atcsutton commented 7 months ago

When I made changes for the new BeamFetcherV2 I added a member variable to the BeamDataPoint class. This inadvertently broke any files that were created with the old class whenever you tried to load the BeamStatus from the BoostStore. It didn't know how to handle the serialization for the added member.

I've added versioning now to fix this issue.