Paul Woitaschek
04/06/2023, 1:31 PMdeclaration: KSDeclaration
we generate extensions for iOS to consume kotlin flows.
https://gist.github.com/PaulWoitaschek/3441b731a51ab6350dface411c2bfd7c
With the update to poet 1.13.0, the type in line 33 now misses the generics.
So it seems that toTypeName
now has a bug.
What was previously this:
public fun RecipeCollectionDetailViewModel.iOSViewState(): IOSFlow<LoadingState<RecipeCollectionDetailViewState>> =
viewState().toIOSFlow()
Is now this:
public fun RecipeCollectionDetailViewModel.iOSViewState(): IOSFlow<LoadingState> =
viewState().toIOSFlow()
But I actually wanted to create a test for this as this isn’t an issue tracker 🙃