Remove connection types from CI lint mutation
What does this MR do and why?
Linting a CI config returns a Ruby hash, not ActiveRecord objects. We don't need to have the overhead of connection types for presenting the hash data.
This MR:
- Creates
Ci::ConfigTypeto be theCiConfigV2. We don't need to nest it asCi::Config::ConfigTypebecauseConfigis used redundantly - Creates a
LegacyConfigmodule to use the code that can be deleted when we removeQueryType.ciConfig - Does not rename the
graphql_namefor the legacy types because that would be a breaking change. Instead the new types havegraphql_nameappended withV2 - Removes the WIP
ci_lint_mutationfeature flag - Deprecates the
QueryType.ciConfigfield
Issue: Backend: Graphql mutation for CI Lint (#540764 - closed)
Edited by Avielle Wolfe