Add code coverage data to GraphQL API
Problem to solve
As a frontend engineer at GitLab I want the Code coverage reporting data available through GraphQL so I can have flexible access to it in order to iterate on the code coverage analytics features without requiring small backend changes each iteration.
Frontend Engineers at GitLab
User experience goal
Flexible access to the Code Coverage data for groups and projects over time in order to enable the features outlined in &2838.
We should add our code coverage data from
daily_build_group_report_results into our GraphQL api.
The data is stored in a
jsonb column inside of the postgres database. It is unclear how writing a GraphQL resolver for this strongly structured json data should work. There's a github issue here: https://github.com/rmosolgo/graphql-ruby/issues/474 that potentially has a solution but investigation is required to figure out if that applies in our case.