enum class Process(val implementation: ProcessInterface) {
FOO(SomeProcess())
}
Is it somehow possible to use dependency injection within SomeProcess? Those processes should be very generic, some have models, repositories and stuff and should mainly maintain stuff on there own.