Skip to content

Conversation

@Arzaroth
Copy link

If one uses methods from the Query class that don't return the Query object through __call when dealing with a relation object, it becomes unusable.

This PR aims to fix that.

The test provided illustrate one of the cases in which this could happen (namely, ordering a hasMany relation before retrieving the first item).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant