dheerajturaga opened a new pull request, #56833:
URL: https://github.com/apache/airflow/pull/56833
The API endpoint for DAG details was returning only resolved parameter
values instead of the full parameter schema, causing a "Cannot read
properties of undefined (reading section)" error in the UI when
triggering DAGs with parameters.
This was a regression introduced in commit 5d58c048b1 which changed
`v.dump()` to `v.resolve()` in the params serialization.
Changes:
- Add `serialize()` method to `SerializedParam` to return the full
parameter structure (value, description, schema)
- Update API field validator to use `serialize()` instead of `resolve()`
- Update tests to expect the correct parameter format
The API now returns params in the format expected by the frontend:
{"param_name": {"value": <val>, "description": <desc>, "schema": {...}}}
--
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]