-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
IntelliJ has the Call Hierarchy tool that allows to drill into where a specific funtion is called:
I would like the same thing for fragments:
query GetHomeFeed {
home {
videos {
...videoDetails
}
}
}
fragment videoDetails on Video {
id
title
author {
...userDetails
}
}
fragment userDetails on User {
id
name
email
}I would expect the call hierarchy to be something like GetHomeFeed (query) -> home -> videos -> videoDetails (fragment) -> author -> userDetails (fragment) (only a single call in that case)
Bonus points for being able to do this on fields. If I type a new query:
query GetUser {
user {
...userDetails
}
}Call hierarchy for User.email:
- email
- userDetails (fragment)
- user
- GetUser (query)
- author
- videoDetails (fragment)
- videos
- home
- GetHomeFeedQuery (query)
Reactions are currently unavailable