Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for automatic registration of workers and sub-workflows when registering a workflow #176

Open
ngrahovac-codaxy opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ngrahovac-codaxy
Copy link

Instead of having to register workflows and all their tasks manually (error-prone for large workflows), it could be useful to add support for automatic worker and sub-workflow registration. The user would then register only the workflows they need, and all of its workers and sub-workflows would be discovered via reflection and registered behind the scenes.

This feature can be optional, so something like this:

builder.RegisterWorkflow<MyWorkflow>(opts => opts.RegisterTasksAutomatically());

@ognjenkatic ognjenkatic added the enhancement New feature or request label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants