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): options should be read correctly for project inference #785

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

AgentEnder
Copy link
Member

@AgentEnder AgentEnder commented Oct 23, 2023

There's an issue with how we read configuration in Nx 17. It results in default values not being applied for some options, and project inference not working after migration.

This updates config handling to merge all values rather than relying on nullish handling.

@AgentEnder AgentEnder force-pushed the fix/options-should-read-correctly-v17 branch from 6737c2d to 9425cb1 Compare October 23, 2023 22:56
@nx-cloud
Copy link

nx-cloud bot commented Oct 23, 2023

@NathanWalker
Copy link

Thanks @AgentEnder this appears to resolve the CI issue we were seeing 👍

@AgentEnder AgentEnder force-pushed the fix/options-should-read-correctly-v17 branch from 9425cb1 to d5b87a1 Compare October 24, 2023 16:11
@AgentEnder AgentEnder force-pushed the fix/options-should-read-correctly-v17 branch from d5b87a1 to b2693c0 Compare October 24, 2023 16:12
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@AgentEnder AgentEnder merged commit 0e5b73d into master Oct 24, 2023
6 checks passed
@AgentEnder AgentEnder deleted the fix/options-should-read-correctly-v17 branch October 24, 2023 16:51
github-actions bot pushed a commit that referenced this pull request Oct 24, 2023
## [2.0.2](v2.0.1...v2.0.2) (2023-10-24)

### Bug Fixes

* **core:** options should be read correctly for project inference ([#785](#785)) ([0e5b73d](0e5b73d))
* **dotnet:** correct flag passed to client to verify no changes ([#786](#786)) ([eab2d48](eab2d48))

Oct 24, 2023, 5:48 PM
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 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.

2 participants