The following error is thrown by KaptPlugin
Invalid return type: Select methods must return one of [ENTITY, OPTIONAL_ENTITY, FUTURE_OF_ENTITY, FUTURE_OF_OPTIONAL_ENTITY, PAGING_ITERABLE, FUTURE_OF_ASYNC_PAGING_ITERABLE]@Select
I have the following function signature:
@Dao interface MyDao { @Select suspend fun get(id: UUID): Product }
Does the mapper generator support kotlin suspend return type? if no, are there any workarounds?