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

Use auto Dependency Injection (instead of constructing explicit) #65

Open
kmorcinek opened this issue Oct 18, 2020 · 0 comments
Open

Use auto Dependency Injection (instead of constructing explicit) #65

kmorcinek opened this issue Oct 18, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kmorcinek
Copy link
Owner

Currently everything is constructed in index.ts

ConquerorSpy.historyChecker = new HistoryChecker(
  provinceOwnership,
  new ProvinceHistoryChecker(),
  new FarmHistoryChecker(),
  provinceHistoryService
);

How to use a Dependency Injection Container (or similar concept)?

@kmorcinek kmorcinek added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant