guan404ming opened a new pull request, #74494:
URL: https://github.com/apache/airflow/pull/74494

   ## Related
   
   - Mirrors the Go SDK's `airflow.Label` (#74119).
   
   ## Why
   
   - TypeScript Dags cannot label an edge, as Python's `Label` does.
   - The serializer always wrote `edge_info: {}`.
   
   ## How
   
   - Add `label(node, text)` to wrap the endpoint passed to `before` or `after`.
   - Redrawing an edge labels it; a later label wins; a label on the receiver 
is dropped.
   - Serialize labels into `edge_info`, keying a group end by its join node.
   - Document it in the TypeScript SDK guide.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes, with help of Claude Code Opus 5.5 following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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