Fix GraphQL/ResolverMethodLength offenses
What does this MR do and why?
This fixes all GraphQL/ResolverMethodLength
offenses in:
app/graphql/types/ci/detailed_status_type.rb
app/graphql/types/ci/runner_type.rb
-
app/graphql/types/packages/package_type.rb
For this one, I localized the exclusion of the cop because the I didn’t see a way to modify the#metadata
method without making it less readable or performant. Maybe there is a better way to deal with that though. app/graphql/types/ci/stage_type.rb
Relates to #346034.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.