Skip to content

Conversation

lindyhopchris
Copy link
Member

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

@lindyhopchris lindyhopchris added this to the 1.x milestone Sep 27, 2019
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing hasOneThrough relationship in adapter
2 participants