selvakumar-arumugapandian opened a new issue, #27157:
URL: https://github.com/apache/airflow/issues/27157

   ### 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
   
   ```json
   {
   "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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to