Skip to content

fix: ensure workspace links query parents correctly#6829

Merged
wraithgar merged 2 commits intonpm:latestfrom
Carl-Foster:fix/query-child-workspace-dependencies
Sep 27, 2023
Merged

fix: ensure workspace links query parents correctly#6829
wraithgar merged 2 commits intonpm:latestfrom
Carl-Foster:fix/query-child-workspace-dependencies

Conversation

@Carl-Foster
Copy link
Copy Markdown
Contributor

The hasParent query handler does not handle ArboristLink(s) correctly. This causes child workspaces to not return their dependencies when not in a direct child query.

References

Fixes #6828

Not sure why the formatting got changed. I ran the linter and it seemed to do all this change.

@Carl-Foster Carl-Foster requested a review from a team as a code owner September 22, 2023 06:24
@wraithgar
Copy link
Copy Markdown
Member

Is there any way you can revert the linting changes? Restore the test to latest and just add your own test?

@Carl-Foster Carl-Foster force-pushed the fix/query-child-workspace-dependencies branch from 628eb61 to 5df232e Compare September 23, 2023 00:32
@Carl-Foster
Copy link
Copy Markdown
Contributor Author

Fixed up.

@wraithgar wraithgar merged commit 0860159 into npm:latest Sep 27, 2023
@github-actions github-actions bot mentioned this pull request Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Query dependencies of a child workspace returns no results

2 participants