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

Add a schema-version field to the configuration file JSON Schema. #246

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

jacobotb
Copy link
Contributor

@jacobotb jacobotb commented Mar 5, 2024

What problem are you trying to solve?

Future versions of the configuration file format may not be backwards compatible, so we need a reliable way to tell that a configuration file is from the future.

What is your solution?

A schema-version field. This field can only take the value "v1", and it is optional for backwards compatibility with existing configurations: if absent, "v1" is assumed.

In future versions of the JSON schema, this field will be mandatory and take a different value.

Alternatives considered

What the reviewer should know

@jacobotb jacobotb requested a review from juli1 March 5, 2024 16:18
@jacobotb jacobotb marked this pull request as ready for review March 5, 2024 16:18
@jacobotb jacobotb merged commit 97d161b into main Mar 5, 2024
28 checks passed
@jacobotb jacobotb deleted the jacobotb/STAL-1373/version branch March 5, 2024 16:35
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

Successfully merging this pull request may close these issues.

2 participants