spin
spin copied to clipboard
spin doctor manifest v1->v2 conversions: preserve comments?
When I run spin doctor on a spin.toml with v1 syntax and convert it to v2, I notice all comments are removed in the process.
Not sure how tricky it would be to retain comments at their proper positions. For now I can manually work around by copy/pasting them back in from the backup
"Quite tricky". I tried, but it would basically require having two completely different copies of the v1->v2 logic.
@vdice I reckon this one is no longer very relevant - anyone who is going to migrate off v1 has likely done so by now. So I'm closing it, but of course re-open if you reckon it's worth keeping.