We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My current code is
@injectable class MessageUseCase { MessageUseCase( this.repository); } @injectable class HomeUseCase { HomeUseCase( this.repository); } @injectable class PermissionUseCase { PermissionUseCase( this.repository); } @injectable class HomeRepository { }
Some attempts to use scope seem to have no effect.
@Injectable(scope: 'home') class MessageUseCase { MessageUseCase( this.repository); } @Injectable(scope: 'home') class HomeUseCase { HomeUseCase( this.repository); } @Injectable(scope: 'home') class PermissionUseCase { PermissionUseCase( this.repository); } @Injectable(scope: 'home') class HomeRepository { }
How to use Injectable to achieve the effect I need
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My current code is
Some attempts to use scope seem to have no effect.
How to use Injectable to achieve the effect I need
The text was updated successfully, but these errors were encountered: