Open jdmcd opened 2 years ago
Some notes:
.fields(for: PrimaryModel.self)
or individual .field()
invocations.all(Model.self, \.$keypath)
overload (which would suddenly stop working at runtime without warning).Since we can't safely change the behavior for existing code, this is a wontfix for Fluent 4.
@gwynne makes sense - thank you!
Describe the bug
When running a Fluent query with the following
join
:The generated query is:
This results in a potentially large extraneous amount of data being sent over the wire.
To Reproduce
Run a query with a join + filter
Expected behavior
The query should not return the column set for the joined table unless it's asked for via
.field
or.with
.Environment
Additional context
N/A