uranusjr commented on PR #71144: URL: https://github.com/apache/airflow/pull/71144#issuecomment-5238626229
Maybe we can do something like this instead ```ts const dag = new Dag(...); // Add tasks... const registry = new DagRegistry(dag); registry.serve(); ``` Or, even more similar to Java SDK, `new Server(registry).serve()` so we can separate dag registration logic and network logic into different types. -- 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]
