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

[8.x] Apply --except option in combination with --model for model:prune #40110

Closed
wants to merge 5 commits into from

Conversation

markwalet
Copy link
Contributor

@markwalet markwalet commented Dec 20, 2021

Fixed an edge case when using the new --except option added in #39749.

When using the --model options. The --except option normally would get ignored when used in combination.

I couldn't come up with a practical use case for this. That's why I added a warning when using both parameters. I still feel that it makes more sense to support a combination of both parameters. Especially because it never states that all other parameters will be ignored when the model option is used.

Looking forward to any feedback and suggestions regarding this PR.

Thanks!

@driesvints driesvints changed the title Apply --except option in combination with --model for model:prune. [8.x] Apply --except option in combination with --model for model:prune Dec 20, 2021
@taylorotwell
Copy link
Member

Fixed on 8.x.

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.

None yet

2 participants