Then you make a slew of Foo’s and save them to a file using JLD2.jl
Now, your boss tells you to add a buzz flag:
On booting up a jupyter notebook, you now find your N hours of Foo’s are corrupted:
WARNING: saved type Bar.Foo is missing field buzz in workspace type; reconstructing
Error encountered while loading "/Users/picard/Desktop/notebook_folder/foo.jld2".
MethodError: Cannot `convert` an object of type JLD2.ReconstructedTypes.##Bar.Foo#673 to an object of type Bar.AbstractFoo
This may have arisen from a call to the constructor Bar.AbstractFoo(...),
since type constructors fall back to convert methods.
Is there a way you can work around this issue?
// it seems like migrations are a fundamental building block of storing data