Description
JSON Linter in Variables
When user adds an object (JSON format) as variable, there should be option enabled to validate the object or validate automatically.
For example:
I have a variable named "my_var_group", with the following value
{
"dag_prefix": "my-prefix",
"dag_retry": 5
}
Imagine, I am using this variable "my_var_group" in 500+ DAGs and any mistake in the JSON fails to load all the 500+ DAGs.
So, A feature which does automatic linting of JSON object (By throwing error during variable creation/update) shall ensure that "error" prone JSON is not added.
Use case/motivation
Real-time experience in an environment where we are running more than 1000+ DAGs.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Description
JSON Linter in Variables
For example:
I have a variable named "my_var_group", with the following value
{ "dag_prefix": "my-prefix", "dag_retry": 5 }Imagine, I am using this variable "my_var_group" in 500+ DAGs and any mistake in the JSON fails to load all the 500+ DAGs.
So, A feature which does automatic linting of JSON object (By throwing error during variable creation/update) shall ensure that "error" prone JSON is not added.
Use case/motivation
Real-time experience in an environment where we are running more than 1000+ DAGs.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct