Skip to content

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.

4 participants