Skip to content

HybridRelations::morphTo() needs to respect $ownerKey #1835

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 2 commits into from
Jan 21, 2020
Merged

HybridRelations::morphTo() needs to respect $ownerKey #1835

merged 2 commits into from
Jan 21, 2020

Conversation

stephandesouza
Copy link
Contributor

If a model use morphs with different $ownerKey this key is not passed to the builder.

@Smolevich
Copy link
Contributor

@jenssegers, can you review please?

@divine
Copy link
Contributor

divine commented Jan 20, 2020

Hello!

Could you please update with the base branch or we can take a look?

Thank you for your contribution!

@stephandesouza
Copy link
Contributor Author

I will take a look tomorrow

@Smolevich
Copy link
Contributor

@jenssegers i add label candidate-for-release to PR and merged into master

@Smolevich Smolevich merged commit 69e4da5 into mongodb:master Jan 21, 2020
@stephandesouza stephandesouza deleted the patch-1 branch March 11, 2020 14:47
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
HybridRelations::morphTo() needs to respect $ownerKey
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.

3 participants