Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

On format extension and compliancy #357

Open
stefanoborini opened this issue Dec 2, 2016 · 0 comments
Open

On format extension and compliancy #357

stefanoborini opened this issue Dec 2, 2016 · 0 comments

Comments

@stefanoborini
Copy link
Contributor

Going forward, I envision two issues with the current state of affairs:

  1. the current "transpiler" (aka. generator) is not performing any checks for sanity of the passed yaml files. This results in the potential to ruin the data model. The transpiler code as it is now requires some relevant refactoring before proper checks are put in place.

  2. Soon we'll face the problem of upgrading files compliant with an old file format, and port them to the new file format. The current design makes it extremely hard to do. I don't have a valid solution for this, because it would require a major investment in a migration strategy, and the generated code is able to handle the migration options and take them into account when it's time to read a file that is older than what the data model can read.

Just food for thoughts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant