Skip to content

[graphql] Cop to ensure graphql_name is first line in class

Brett Walker requested to merge bw-graphql-name-position-cop into master

What does this MR do and why?

Adding rubocop Graphql/GraphqlNamePosition to ensure graphql_name is first line in class. This I needed in order to support our upgrade efforts to the latest Graphql-ruby gem.

Additional details can be found at https://github.com/rmosolgo/graphql-ruby/issues/3919 and !80525 (merged)

Related to #210556 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Brett Walker

Merge request reports