Skip to content

Validate workspace-databases.json#1709

Merged
norascheuch merged 6 commits intomainfrom
charis-nora/validate-db-config-file
Nov 4, 2022
Merged

Validate workspace-databases.json#1709
norascheuch merged 6 commits intomainfrom
charis-nora/validate-db-config-file

Conversation

@norascheuch
Copy link
Copy Markdown
Contributor

We want to add a json schema file to validate the new workspace-databases file.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@norascheuch norascheuch changed the title Charis nora/validate db config file Validate workspace-databases.json Nov 3, 2022
@norascheuch norascheuch marked this pull request as ready for review November 3, 2022 13:58
@norascheuch norascheuch requested review from a team as code owners November 3, 2022 13:58
Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

This is looking good. However (please don't hate me 🙀), @koesie10 has mentioned https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation to me which we could take advantage of instead of having to append "schema": "file://...". Do you want to try that out and see how it goes?

Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

LGTM!

@norascheuch norascheuch merged commit fe90f38 into main Nov 4, 2022
@norascheuch norascheuch deleted the charis-nora/validate-db-config-file branch November 4, 2022 11:20
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