@with
inherit @orderBy
clause of original query
#2473
Labels
needs reproduction
Failing test case needed
@with
inherit @orderBy
clause of original query
#2473
Describe the bug
Seems like the
@with
inherit@orderBy
clause of original query, so if thecolumn
doesn't exists also in relation it will fail the queryMaybe the solution is to only add
->reorder()
on the builderExpected behavior/Solution
The
->load
should not containorderBy
clauseSteps to reproduce
@hasMany
relation on a model@orderBy
to args@with
to another relation on the same modelOutput/Logs
Click to expand
Lighthouse Version
v6.22.0
The text was updated successfully, but these errors were encountered: