Skip to content

[Fix] Unable to delete nested embedded models #1423

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

Closed
wants to merge 3 commits into from

Conversation

milanspv
Copy link
Contributor

@milanspv milanspv commented Feb 2, 2018

The PR fixes deletion of embedded nested objects.
The current implementation uses dot notation which in combination with $set update operator does not actually remove objects.

@jenssegers ^

@milanspv milanspv changed the title Fix deletion of nested embeded models [Fix] Unable to delete nested embedded models Feb 2, 2018
@milanspv
Copy link
Contributor Author

@jenssegers any updates on this?

Merge latest from jenssegers/laravel-mongodb:master
@milanspv
Copy link
Contributor Author

@jenssegers This should be at least available on v3.3.x and Laravel 5.5 (LTS).

@milanspv
Copy link
Contributor Author

milanspv commented Mar 1, 2018

@jenssegers Could you please review the PR and provide any kind of feedback? The review should be prioritized since it contains a fix for the core functionality that is not working properly in the current implementation.

@jenssegers
Copy link
Contributor

Merged, but GitHub did something weird :)

7445ea6

@jenssegers jenssegers closed this Mar 1, 2018
@milanspv milanspv deleted the fix/delete-nested-embeds branch March 1, 2018 10:36
@milanspv
Copy link
Contributor Author

milanspv commented Mar 1, 2018

@jenssegers what version of the package will this be available on? Ref: #1423 (comment)

@jenssegers
Copy link
Contributor

@milanspv v3.4.1

@milanspv
Copy link
Contributor Author

milanspv commented Mar 1, 2018

@jenssegers v3.4.1 requires Laravel 5.6. Any chance to make this available to those of us who work with Laravel 5.5 LTS (v3.3.x release)?

D-02022020 pushed a commit to hoffnungslabor/laravel-mongodb that referenced this pull request Mar 1, 2018
[Fix] Unable to delete nested embedded models
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
[Fix] Unable to delete nested embedded models
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