Hi @Robert Jaros, Is it possible to have a nullable return type from the @KVService annotated Interface?
When I have my service signature as:
suspend fun get(param1: String, param2: String): MyObject?
I get this error:
Type mismatch: inferred type is KSuspendFunction3<IService, String, String, MyObject?>
but suspend TypeVariable(T).(TypeVariable(PAR1), TypeVariable(PAR2)) -> List<TypeVariable(RET)> was expected
but when the signature returns that object, it works fine:
suspend fun get(param1: String, param2: String): MyObject