Skip to content

MetaDocumentMember should be Attachable #87

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
merged 1 commit into from
Sep 28, 2018
Merged

MetaDocumentMember should be Attachable #87

merged 1 commit into from
Sep 28, 2018

Conversation

OndraM
Copy link
Contributor

@OndraM OndraM commented Sep 28, 2018

Hi,
if I'm not mistaken, MetaDocumentMember should implement Attachable interface.

MetaDocument accepts MetaDocumentMember as a second (variadic) argument of its constructor. It then calls combine() function an pass it the MetaDocumentMembers. But the combine() requires its parameters to be attachable, as it calls attachTo() method on them.

@f3ath
Copy link
Contributor

f3ath commented Sep 28, 2018

Good catch. Thanks.

@f3ath f3ath merged commit 0e9681a into json-api-php:master Sep 28, 2018
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.

2 participants