-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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): name collisions during project inference should not error out if corrected by a project.json's name #18665
fix(core): name collisions during project inference should not error out if corrected by a project.json's name #18665
Conversation
…out if corrected by a project.json's name
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -7,7 +7,6 @@ Context for [CreateNodesFunction](../../devkit/documents/CreateNodesFunction) | |||
### Properties | |||
|
|||
- [nxJsonConfiguration](../../devkit/documents/CreateNodesContext#nxjsonconfiguration) | |||
- [projectsConfigurations](../../devkit/documents/CreateNodesContext#projectsconfigurations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have access to these any more in the area where we call createNodes, and doing so could incur a significant perf hit. I don't think its a big deal to drop this, since the API isn't documented yet and is still experimental.
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. |
Current Behavior
Project's inferred from a project inference plugin are merged with any other configurations, but if the inferred configuration has a name which is inferred to be the same as another project's name, it can cause an issue when reading the project.json for that project later on.
Expected Behavior
No errors occur if there are project.jsons that specify unique names
Related Issue(s)
Fixes #18660
Fixes #18668