Skip to content

Eager options must be attached to the query, not the connection #72

Closed
@stanislas-m

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. 😀

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions