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!