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

Implement Protolith for easy config updating #342

Open
dfsek opened this issue Jul 12, 2022 · 0 comments
Open

Implement Protolith for easy config updating #342

dfsek opened this issue Jul 12, 2022 · 0 comments
Labels
Platform: All Issue/PR is applicable to all platforms. Status: Accepted Issue/PR is accepted.

Comments

@dfsek
Copy link
Member

dfsek commented Jul 12, 2022

Using Protolith, require all registered objects to be Protolith compatible (provide a Protolith codec), and integrate with Tectonic to allow for simple "Updates" to be applied to configs.

Automatic updates would be applied by having every config type specify a version key, with updates being applied between versions. Updates would simply provide optics onto old config schemas which "translate" to new config schema values. These translation optics would then be composed together automatically to incrementally update old config schemas.

@dfsek dfsek added Type: Question Further information is requested. Status: Pending Issue/PR is currently awaiting approval by a moderator. Status: Accepted Issue/PR is accepted. Platform: All Issue/PR is applicable to all platforms. and removed Type: Question Further information is requested. Status: Pending Issue/PR is currently awaiting approval by a moderator. labels Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: All Issue/PR is applicable to all platforms. Status: Accepted Issue/PR is accepted.
Projects
Development

No branches or pull requests

1 participant