Hi. Im trying to put a variable inside kodein db a...
# kodein
y
Hi. Im trying to put a variable inside kodein db and keep getting invalid mutability exceptions. It works ok from the main thread, but not from a suspend function. has anyone ever encountered this?
s
Kodein-DB is not meant to be used in a frozen environment. We decided to wait for the new memory model to be released rather than spend a considerable amount of time optimizing for the current one who is meant to be deprecated.
v
Try to use Kotlin 1.6-M1-139 (or newer), I shifted and all works fine for me