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 $schema property to config files #13

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Add $schema property to config files #13

merged 3 commits into from
Aug 27, 2024

Conversation

alexdewar
Copy link
Collaborator

@alexdewar alexdewar commented Aug 12, 2024

In preparation for imperialCHEPI/healthgps#449, I've added a $schema property to each of the config files. Currently the URL doesn't exist, but it will once I've fixed that issue in the main repo (which I've nearly finished). I've dropped the version property, as we no longer need it.

I leave it up to you whether you want to merge before or after imperialCHEPI/healthgps#449 is fixed.

Copy link
Contributor

@jamesturner246 jamesturner246 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Quick question below.

I personally don't mind the merge order. Whatever makes like simpler for you.

@@ -1,5 +1,4 @@
{
"version": 2,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was no schema here intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. I've made two changes: one to add the $schema property and another to drop the (now-redundant) version property. Is that ok?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed my mind 🙃. I'll leave the version property there for now to avoid breaking backwards compatibility. We can remove it properly when we make a new config file format.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

@alexdewar alexdewar merged commit 9d9380b into main Aug 27, 2024
1 of 2 checks passed
@alexdewar alexdewar deleted the add_schema_property branch August 27, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants