-
Notifications
You must be signed in to change notification settings - Fork 109
Open
@whataboutpereira
Description
While checking fields in the criteria of findBy and findOneBy functions works nicely, I notice mistyped field names in orderBy are being ignored.
$this->findBy([], ['dates' => 'desc']);
will happily pass when the actual field is date
.
Would it be hard to add field checking for orderBy in those repository functions?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels