Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix builder methods on relations #419

Merged
merged 11 commits into from
Jan 20, 2020
Merged

Fix builder methods on relations #419

merged 11 commits into from
Jan 20, 2020

Conversation

canvural
Copy link
Collaborator

This PR adds better support for calling builder methods on relations. It turned out a little bigger than I wanted, but I tried to keep commits small. Should help with reviewing.

Also after this PR is merged, we will we able to delete some more code in other extensions and use the BuilderHelper anywhere Laravel is forwarding calls to the builder. Also, I'll add the model scopes support to BuilderHelper in a separate PR.

Copy link
Collaborator

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@canvural canvural merged commit a57bbc0 into larastan:master Jan 20, 2020
@canvural canvural deleted the fix-builder-methods-on-relations branch February 4, 2020 14:09
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.

None yet

2 participants