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

refactor(core)!: remove workspace.locator #5619

Merged
merged 2 commits into from
Jul 28, 2023

Conversation

paul-soporan
Copy link
Member

What's the problem this PR addresses?

workspace.locator is quite useless and only creates confusion with workspace.anchoredLocator.

At the moment, it's only used in places that need an ident, which workspace.anchoredLocator can happily provide.

In the past, it was also used accidentally instead of workspace.anchoredLocator before I fixed it in #4937.

How did you fix it?

Removed it since it doesn't provide any benefits. Its only actual use is comparisons in project.tryWorkspaceByLocator, but nobody has ever passed it to project.tryWorkspaceByLocator anyways.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@paul-soporan paul-soporan mentioned this pull request Jul 27, 2023
13 tasks
@arcanis arcanis merged commit bca874d into master Jul 28, 2023
@arcanis arcanis deleted the paul/refactor/remove-workspace.locator branch July 28, 2023 15:50
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.

3 participants