Step 1/3: Add GraphQL query to fetch single release
What does this MR do?
Performs some background refactoring/prep work for #262667 (closed).
Specifically:
- Add a new GraphQL query (
one_release.query.graphql
) to fetch a single release - Refactor the existing GraphQL query (
all_releases.query.graphql
) to use a shareable fragment - Fix our fixture generator to handle queries that include fragments
- Rename
convertGraphQLResponse
toconvertAllReleasesGraphQLResponse
, and addconvertOneReleaseGraphQLResponse
Screenshots
This MR makes no user-facing changes.
The Big PictureTM
- Step 1 (this MR): Add a new GraphQL query to fetch a single release
- Step 2 (!44779 (merged)): Convert the page to use GraphQL
- Step 3 (!45170 (merged)): Enable the feature flag by default
Related to #262667 (closed)
Edited by Nathan Friend