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

dependents and dependencies should show fully-qualified names #5565

Open
ceedubs opened this issue Feb 3, 2025 · 2 comments
Open

dependents and dependencies should show fully-qualified names #5565

ceedubs opened this issue Feb 3, 2025 · 2 comments
Assignees

Comments

@ceedubs
Copy link
Contributor

ceedubs commented Feb 3, 2025

Is your feature request related to a problem? Please describe.

When I'm calling dependents or dependencies it's because I'm trying to track down the dependency graph of code. So even if impl is an unambiguous name within my project, it would be much more helpful to see accounts.users.createUser.impl than impl in the dependents list.

Describe the solution you'd like

Instead of seeing something like:

project/branch> dependents baseUri
 
  Dependents of: api.baseUri
  
    Terms:
  
    1. impl
  
  Tip: Try `view 1` to see the source of any numbered item in the above list.

I'd like to see something like this:

project/branch> dependents baseUri
 
  Dependents of: api.baseUri
  
    Terms:
  
    1. accounts.users.createUser.impl
  
  Tip: Try `view 1` to see the source of any numbered item in the above list.

The latter uses a fully-qualified name similar to the output of the names command.

@aryairani
Copy link
Contributor

Sounds good. Just out of curiosity, what's the next step that you want the full name for?

@ceedubs
Copy link
Contributor Author

ceedubs commented Feb 3, 2025

In this case it's that I want to see if I can delete api.baseUri instead of resolving a conflicting update in it. So I want to see what this impl is all about and whether I can also delete (or remove its dependency on baseUri). I still might need to run further commands with impl, but seeing its name gives me a quick "ah yeah that thing" and I can abandon ship on deleting baseUri if I know that it's important.

@mitchellwrosen mitchellwrosen self-assigned this Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants