Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How would versioning work? #1

Open
Profpatsch opened this issue Jan 26, 2019 · 0 comments
Open

How would versioning work? #1

Profpatsch opened this issue Jan 26, 2019 · 0 comments

Comments

@Profpatsch
Copy link
Member

I think I understood the structure of these examples, but one thing that comes up often in practice: versioned configuration.

That is, the program in question changes the types of some fields, removes some fields, adds some fields …

How would I write a dhall config that can handle this? Where the user should (if possible) be able to import a dhall file that corresponds to the version of the program one wants to generate the config for, and dhall will typecheck for that version number.

Of course on the dhall side there should be as little duplication as possible.

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

No branches or pull requests

1 participant