Is there a way to ensure `serializer(foo: KType)` ...
# serialization
c
Is there a way to ensure
serializer(foo: KType)
finds the serializer on all platforms? From what I understand, it uses reflection on the JVM, and fails on other platforms. If there was a way to declare a
SerializerModule
as "the plugin should automatically add all the classes it can find" I think that could solve the problem? I can't use the
serializer<T>()
reified function because it is in a function defined in an interface, so it can't be
inline
.