Skip to content

Conversation

@s1ntaxe770r
Copy link
Collaborator

🧠 Ai UsageDetails (if applicable):

This pr adds a schema sub command to enable dgctl generate a jsonschema for digger.yml config files , as requested in #2541

IMPORTANT: Please disclose any usage of ai tooling while making this change. If you did not use any AI write "NA" below

Example: Used ChatGPT to help with doc phrasing.
Example: Code generated by Copilot; reviewed and verified manually.

@emersonf-cat
Copy link

@s1ntaxe770r to clarify, my suggestion was to be "contract first". In other words, creating and maintaining a JSON Schema file by hand for the configuration, which is then used to generate code and documentation. Not generating the schema from documentation or code.

JSON Schema will help you be deliberate about configuration files and their changes, and with appropriate tooling, keep your documentation always in sync. It also lets you implement commands like validate to check if Digger config files are valid, and failing fast if they're not.

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.

3 participants