Has anyone got a nice upcasting pattern to share?
I guess schemas should have a number literal version indicator to discriminate on, but from there I could imagine a few approaches
1. Simplest would be a separate "upcast" function that transforms one version to the next repeatedly until current is reached
2. Leverage schema transform and union to have an 'all in one' that will decode any version to the latest version?
3. Anything else ??