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 serialize embedded relationships #1454

Merged
merged 1 commit into from
Apr 25, 2018

Conversation

RomM1
Copy link
Contributor

@RomM1 RomM1 commented Mar 3, 2018

Currently, when you serialize a model (usually to place on a queue) with an embedded relationship, a loop occurs when all nested relationships are sent to the queue (laravel/framework#21229). This is due to the parent relationship, which is duplicated in the embedded model. Pull Request removes the parent relationship from the model's embedded.

@jenssegers jenssegers merged commit e1c6e53 into mongodb:master Apr 25, 2018
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
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