Skip to content

fixing strategy providers bug#2

Open
luga97 wants to merge 1 commit into
kunukmak:masterfrom
luga97:master
Open

fixing strategy providers bug#2
luga97 wants to merge 1 commit into
kunukmak:masterfrom
luga97:master

Conversation

@luga97

@luga97 luga97 commented Feb 6, 2023

Copy link
Copy Markdown

was implemented a strategy interface as abstract class (typescript interfaces doesn't work to use as modules providers).
don't use "new Strategy()" and export, because in any moment you are going to need to inject nestjs dependencies into a strategy implementation so, we give it to nestJS DI and have a better implementation. Please let me know if you need help to understand something about it, comments are welcome :)

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

Successfully merging this pull request may close these issues.

1 participant