Colton Idle
09/25/2024, 1:23 AMjw
09/25/2024, 1:24 AMjw
09/25/2024, 1:26 AM@Provides fun database(environment: Environment): Database {
return when (environment) {
Staging -> InMemoryDatabase()
Production -> RealDatabase()
}
}
jw
09/25/2024, 1:28 AMjw
09/25/2024, 1:30 AMursus
10/05/2024, 9:33 PMInside that component the account credentials are always knowdo you mean
@BindsInstance
on compoment factory?