Skip to content

Various ways to do DI in Scala

License

Notifications You must be signed in to change notification settings

olliahonen/diip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here we have different ways to do dependency injection (DI) in Scala


Each DI style has its own package under diip. They all contain the same program, just wired together in a different way.

  • Running diip.plain.Main.run prints something like hej yo hej hej
  • Method diip.plain.Main.test emulates a test setup, with the dependency wired to another implementation
  • The other diip.* packages should work identically

License

About

Various ways to do DI in Scala

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages