Add a rule to enforce resolver type annotations
All threads resolved!
All threads resolved!
Compare changes
Files
165+ 31
− 10
@@ -23,14 +23,35 @@ cache-repo:
This MR adds a new Rubocop rule: Graphql/ResolverType
.
This rule enforces that every resolver declares its type explicitly using a top level DSL method.
The reasons for this are:
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
@gitlab-com/gl-security/appsec