Taragolis commented on PR #29395:
URL: https://github.com/apache/airflow/pull/29395#issuecomment-1420684511

   > Nice.
   I wonder if it's 'possible' to handle the change in the endpoint itself 
using something like 
https://github.com/apache/airflow/blob/main/airflow/api_connexion/parameters.py#L38
 and avoid breaking change? The issue seems to affect only dates in the query 
string
   
   I think we use transformation by this function, unfortunately it happen 
after string validation.
   Previously it didn't failed because `jsonschema` doesn't validate datetime 
if `rfc3339-validator` or `strict-rfc3339` (jsonschema<4) not installed.
   
   As another workaround we could overwrite default datetime checker in 
`jsonschema` however as result every user who validate json in Airflow Context 
would use our checker.
   
   Potentially there is win-win condition but I can't find it 😞 


-- 
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