galex
08/18/2025, 2:51 PMencodeValue
and decodeValueOrNull
functions, how to I make an observable version of decodeValueOrNull
? There's a coroutines module but I haven't found the intersection between that module and the serialization module? 🤔 cc @russhwolf 😇Taush Sampley
08/18/2025, 4:05 PMObservableSettings
type not working with observableSettings.get<Type>Flow("key", defaultValue)
? https://github.com/russhwolf/multiplatform-settings?tab=readme-ov-file#coroutine-apisgalex
08/18/2025, 4:22 PMgalex
08/18/2025, 4:26 PMget<Type>Flow
.
I guess the way the modules are built, there should be a serialization-coroutines module to mix the two. I'll open a ticket!galex
08/18/2025, 4:28 PMrusshwolf
08/18/2025, 4:34 PMgalex
08/18/2025, 4:35 PMmultiplatform-settings-make-observable
?russhwolf
08/18/2025, 4:43 PMaddListener
function (which existed in earlier versions of the library), but that makes it harder to convert between ObservableSettings
and FlowSettings
. One solution is to add listeners at every key of the serialized type, but that requires some work coercing the serialization machinery into doing what we need.galex
08/18/2025, 4:58 PM