We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When defining a repository method to be used in a Kotlin coroutine context like
fun searchByYear(year: Int): Flow<SeachHit<T>>
a call to this method fails as the found document is being mapped into the SearchHit instead of the entity type to be put into the SearchHit.
SearchHit
The text was updated successfully, but these errors were encountered:
Support Kotlin Flow as possible return type in repository functions.
1fa6c9f
Original Pull Request #2387 Closes #2386
8fe0417
Original Pull Request #2387 Closes #2386 (cherry picked from commit 1fa6c9f)
sothawo
Successfully merging a pull request may close this issue.
When defining a repository method to be used in a Kotlin coroutine context like
a call to this method fails as the found document is being mapped into the
SearchHit
instead of the entity type to be put into theSearchHit
.The text was updated successfully, but these errors were encountered: