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

feat(core): change the signature of createNodes to return a project root map instead of project name map #20102

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

AgentEnder
Copy link
Member

Current Behavior

CreateNodes returns an object containing a map of project name -> project, this is a bit awkward to use when you know that there is another thing providing that info later on. It feels bad to register a target and have to come up with a placeholder name that you know will be overridden.

Expected Behavior

The project root is required anyways, to merge infos together, so use it as the key to the map

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested review from a team as code owners November 7, 2023 16:01
Copy link

vercel bot commented Nov 7, 2023

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2023 4:29pm

@AgentEnder AgentEnder force-pushed the feat/create-nodes-root-map branch from cc5909e to 0ad0562 Compare November 8, 2023 16:11
@AgentEnder AgentEnder force-pushed the feat/create-nodes-root-map branch from 0ad0562 to 93ff15d Compare November 8, 2023 16:17
@AgentEnder AgentEnder requested a review from a team as a code owner November 8, 2023 16:29
@AgentEnder AgentEnder force-pushed the feat/create-nodes-root-map branch from 31da2d8 to 93ff15d Compare November 8, 2023 16:31
@AgentEnder AgentEnder merged commit 08a4891 into nrwl:master Nov 8, 2023
3 checks passed
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 Nov 14, 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.

3 participants