Eager options must be attached to the query, not the connection #72
Closed
Description
Following the Eager creation release, you can't use Eager
on a query anymore: you have to use it on a Connection
, so this introduces a breaking change.
This also introduces a bug: if you want to reuse a connection, to make multiple queries, the eager options are still attached and the next query tries to use them.
I think these options have to be attached to the Query
, instead of the Connection
. 😀