Reduce database columns SELECTed in GraphQL queries #2801
Annotations
7 errors
Run RuboCop:
lib/graphql_selections.rb#L43
Style/HashTransformValues: Prefer `transform_values` over `each_with_object`.
|
Run RuboCop:
lib/graphql_selections.rb#L52
Style/HashEachMethods: Use `each_value` instead of `values.each`. (https://rubystyle.guide#hash-each)
|
Run RuboCop:
spec/lib/graphql_selections_spec.rb#L8
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Run RuboCop:
spec/lib/graphql_selections_spec.rb#L8
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Run RuboCop:
spec/lib/graphql_selections_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside { missing. (https://rubystyle.guide#spaces-braces)
|
Run RuboCop:
spec/lib/graphql_selections_spec.rb#L29
Layout/SpaceInsideHashLiteralBraces: Space inside } missing. (https://rubystyle.guide#spaces-braces)
|
Run RuboCop
Process completed with exit code 1.
|
Loading