-
Notifications
You must be signed in to change notification settings - Fork 23
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
Dependency injection for activities #29
Comments
Hi, @yossi-mycedar Do you have a sample? |
When your activity needs to inject other services, how can it be done? |
The same way you inject dependencies into your services (normal nestjs way). @shaolinjr |
@adzamkomladev
Have a look at:
But it feels to me like a workaround (cause defining my service in app.module sounds wrong to me). Any suggestion / thoughts? |
Hey.
First of all thanks a lot for this module.
It seems like there is an issue when trying to inject / import other services to this module in order to be able to use them in activities (Activity should be able to use a service -> which has a repository injected to it -> etc...)
Any suggestion?
Thanks
The text was updated successfully, but these errors were encountered: