Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature] Add has-one-through relationship #429

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

Merged
lindyhopchris merged 3 commits into develop from feature/has-one-through
Sep 27, 2019

Conversation

Copy link
Member

@lindyhopchris lindyhopchris commented Sep 27, 2019

Adds a has-one-through relationship to match the equivalent relationship added to Eloquent in Laravel 5.8.

Like the has-many-through relationship, this relationship is read-only as the relationship is effectively created/modified via the intermediary resource.

Closes #415

Copy link
Contributor

@jstoone jstoone left a comment

Choose a reason for hiding this comment

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

Looks nice and simple, and it totally makes sense that interaction should happen directly on the resource, instead of the proxied "through"-relation. 👌

@lindyhopchris lindyhopchris merged commit 2663cb0 into develop Sep 27, 2019
@lindyhopchris lindyhopchris deleted the feature/has-one-through branch September 27, 2019 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@jstoone jstoone jstoone approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Projects
None yet
Milestone
develop
Development

Successfully merging this pull request may close these issues.

Missing hasOneThrough relationship in adapter

AltStyle によって変換されたページ (->オリジナル) /