Open coury-clark opened 2 years ago
Heads up @joelkw @felixfbecker @vovakulikov @unclejustin - the "team/code-insights" label was applied to this issue.
Just a note that we also have this same issue with the insightViews
query. Also, with a separate query we can include a friendly error message if the user doesn't have permission to view that particular dashboard/insight, whereas now it just returns an empty array.
Currently in the insights graphql api the operation to fetch many dashboards
insightsDashboards
is the same operation to fetch a single dashboard with theid
argument. This issue is to clean up a little bit and provide a separate queryinsightDashboard
to return just a single dashboard.