Thanks for sharing the project! I did some testing and it turns out that KSP considers the return type of
fetchAllLaunches
to be unresolvable.
I am unsure why KSP can’t resolve the return type since it is actually resolved in the end. Anyway explicitly specifying the return type allows KSP to correctly resolve the type:
Copy code
@NativeCoroutines
fun fetchAllLaunches(): Flow<List<Launch.Doc>?> = flow { }
i
itnoles
04/15/2023, 2:06 AM
Thanks for checking for it. I was not expecting that to happen. You could make an error message to explain why.