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

Improve somepath --hidden behaviour #3067

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

peterebden
Copy link
Member

Found an unintuitive case where plz query somepath finds a path but plz query somepath --hidden doesn't (and the non-hidden version didn't really explain to me what was going on). This was somewhat intentional (with --hidden you were supposed to specify the exact coordinates at either end) but it was surprising and I think probably unhelpful.

This simplifies things quite a bit so it always constructs a path of potentially hidden targets then collapses them out afterwards if appropriate.

Technically it's a slight change of behaviour but I think it's just better this way.

@peterebden peterebden merged commit 87a776b into thought-machine:master Feb 8, 2024
14 checks passed
@peterebden peterebden deleted the investigate-somepath branch February 8, 2024 13:27
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.

None yet

1 participant