Created
July 6, 2020 06:50
-
-
Save romainbsl/ba7fc6b2de523c9aeb9beccb171b6201 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val notLoggedInContainer = DI { | |
| import(loginModule, allowOverride = true) | |
| bind<AuthApi>(overrides = true) with singleton { AuthApiError() } | |
| bind<TokenRepository>(overrides = true) with singleton { TokenRepositoryNotLoggedIn() } | |
| bind() from provider { TestLoginView() } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment