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

Example of @WorkflowMethod? #52

Open
theironcook opened this issue Oct 24, 2023 · 0 comments
Open

Example of @WorkflowMethod? #52

theironcook opened this issue Oct 24, 2023 · 0 comments

Comments

@theironcook
Copy link

https://github.com/KurtzL/nestjs-temporal/blob/main/lib/decorators/workflow.decorator.ts

I've been trying to leverage @workflows and @WorkflowMethod with no success. The bundleWorkflowCode and the workflowsPath configuration options for the registerWorkerAsync won't work. I get a lot of webpack errors. Are these decorators meant to be used?

The only reason I care is that I need to access some provided services and I wanted to inject them into a class and using a straight function for a workflow definition is problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant