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

[11.x] Allow to remove scopes from BelongsToMany relation #50953

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

plumthedev
Copy link
Contributor

As @ccharz discovered here, after changes which came with #50849 relation is not able to remove global scopes when it should.

Fixes: #50945
@tpetry FYI

@driesvints driesvints changed the title [11.x] Allow to remove scopes from BelongsToMany relation (#50945) [11.x] Allow to remove scopes from BelongsToMany relation Apr 8, 2024
@driesvints
Copy link
Member

Heya! We were having some failures in the testsuite at the base branch. Could you rebase this PR, make sure tests pass and mark for review again? Thanks!

@driesvints driesvints marked this pull request as draft April 8, 2024 10:07
@plumthedev plumthedev marked this pull request as ready for review April 8, 2024 18:15
@taylorotwell taylorotwell merged commit 24f16ba into laravel:11.x Apr 9, 2024
28 checks passed
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.

[11.2] Global Scopes can't be removed from BelongsToMany relations
3 participants