FindManyBy return type error #1014
Labels
Priority: Low
Something worth considering, but not a top priority for the team
Type: Bug
The issue has indentified a bug
Package version
20.4.0
Describe the bug
Hello,
When trying to user findManyBy, for example:
const commissions = await Commission.findManyBy('userId', user.id)
the return type of commissions is:
LucidRow[]
instend ofComission[]
like we have when doing classic
findBy()
Reproduction repo
No response
The text was updated successfully, but these errors were encountered: