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(core): fix custom workspace-generator options #12821

Merged

Conversation

Roozenboom
Copy link
Contributor

@Roozenboom Roozenboom commented Oct 25, 2022

After PR #12258 the custom options for local workspace-generators did not work anymore because if any
options are defined in the schema it added (options) to the command and if no properties were
defined it also throwed an error

ISSUES CLOSED: #12677

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

After PR 12258 the custom options for local workspace-generators did not work anymore
because if any
options are defined in the schema it added (options) to the command
and if no properties were
defined it also throwed an error

ISSUES CLOSED: 12677
@vercel
Copy link

vercel bot commented Oct 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview Nov 7, 2022 at 7:56PM (UTC)

improve fix by using null coalescing operator after recieving feedback
@Roozenboom
Copy link
Contributor Author

After #12955 most issues with the workspace-generators were resolved, but this PR is still resolving an existing issue when no properties object is defined in the schema.json of the generator. Can i have a review for this small changes as it is open now for almost two weeks?

@Roozenboom Roozenboom closed this Nov 7, 2022
@Roozenboom Roozenboom reopened this Nov 7, 2022
@AgentEnder
Copy link
Member

Since #12955 included most of the fix, can this PR be updated to only add the null safety?

revert prop.default which was accidently removed after previous fix
@Roozenboom
Copy link
Contributor Author

PR is updated to only add the null safety, because if prettier the change looks bigger than it actually is :)

@AgentEnder AgentEnder merged commit 8abc405 into nrwl:master Nov 7, 2022
@Roozenboom Roozenboom deleted the bugfix/custom-workspace-generator-options branch November 7, 2022 21:11
FrozenPandaz pushed a commit that referenced this pull request Nov 7, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local workspace-generator does not work after update to nx@15.0.0
2 participants