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

View GraphQL query analysis values in devportal tryout #12490

Open
rmsamitha opened this issue Feb 25, 2022 · 1 comment
Open

View GraphQL query analysis values in devportal tryout #12490

rmsamitha opened this issue Feb 25, 2022 · 1 comment

Comments

@rmsamitha
Copy link
Member

Describe your problem(s)

In the "Complexity Analysis" tab in GraphQL try-out page in devportal, we can see only the complexity Values of each field. If we want to know the complexity value or the depth value, we have to calculate ourself manually. Instead, it would be a nice to have feature to have the possibility to display the calculated complexity/depth values on a button click. So before executing the queries, user would know the complexity/depth value of them.

Another important concern is that eventhough we have named this tab as "Complexity Analysis", there is no analysis doable via that tab. It only displays the complexity values ATM. So the current implementation of the tab is not doing what it says as doing.
If we add a capability as $subject this tab name "Complexity Analysis" would be meaningful.

Describe your solution

Should be possible to re-use/adapt the implementation of GraphQLQueryAnalysisHandler to implement this improvement.

@rmsamitha
Copy link
Member Author

@bhathiya @tgtshanika @HiranyaKavishani @tharindu1st WDYT on this feasibility of this requirement?
We can implement this in a next release after 4.1.0 if feasible.

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

1 participant