Docdez opened a new issue, #37390: URL: https://github.com/apache/airflow/issues/37390
### Description With first Airflow based project initialization I use Connection and Variable entities. Some variables must be json type only. I just do json.dumps to the value now. It is assumed that it will be modified over the UI if needed. Good, but: 1. For that variables by the UI (and not only) we can set anything. 2. UI does not have highlighting/linter/validator since the application does not have information about the type. Why we cannot just add optional type for Variable? ### Use case/motivation 1. Strict Variable type definition to handle its modification 2. User friendly Highlighting / linter by the type (json for example) in UI ### Related issues [#12147](https://github.com/apache/airflow/issues/12147) ### Are you willing to submit a PR? - [ ] 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]
