Create MergeTrains::Car GraphQL Type
What does this MR do and why?
This MR introduces the MergeTrains::Car
GraphQL type as a first step to expose merge trains through our GraphQL API.
It also introduces an Enum
type that represents all the different statuses.
Docs?
The new type isn't currently identified by the GitlabSchema
as it hasn't been exposed to an entrypoint type yet, therefore bundle exec rake gitlab:graphql:compile_docs
doesn't identify the change. This will be resolved later, when the type is used as a field on higher-level types.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #458718
Edited by Panos Kanellidis