-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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(core): add forwardallargs option to run-commands builder #3559
Conversation
I could really use a bit of help in debugging the one failing unit test. |
hi @germanp173, thx a lot for the PR 👍 reading the discussion with @vsavkin on the issue, i have a following comments:
WDYT? Tell me if there is anything that needs clarification. |
…to true ddress PR feedback by adding support of the forwardAllArgs option at a per command level and default to true ISSUES CLOSED: nrwl#3335
hey @bekos, thanks for taking a look at my PR! |
hi @germanp173 thanks for your changes 💪 sorry for that, but one thing that I didn't realize on my previous comment, is what will happen if someone by mistake uses the
Atm, we don't throw any error and the |
drop top level forwardAllArgs and only support this flag when using within a command object of the commands array ISSUES CLOSED: nrwl#3335
ah good call, yeah makes sense and it does make it easier to follow from a user perspective 👌 |
329a7fd
to
2f0dd8e
Compare
@germanp173 Thanks for your contribution 😃 Awesome job 🎉 |
@bekos thanks! |
I would love to see this backported to 9.x. As far as I can tell it's not supported in 9.7.0:
|
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
forwardAllArgs
option torun-commands
builder that defaults totrue
when usingcommand
andfalse
when usingcommands
ISSUES CLOSED: #3335
Current Behavior
run-commands
builder are always forwarded to all commands which can break user commandsExpected Behavior
fowardAllArgs
optionRelated Issue(s)
Fixes #
Closes #3335