Vitali Plagov
04/26/2022, 9:31 AMobject TestConfig {
val ENV_UNDER_TEST by lazy { ... }
}
It’s a global variable I’m using in the project that stores the environment name under test. Is it possible to change that variable during the runtime? maybe with reflection or somehow else? I do understand that it’s not supposed to be changed and that it’s a dirty hack, so I accept that risk.Ron S
04/26/2022, 12:04 PM