Skip to content

Files

Latest commit

 

History

History
27 lines (17 loc) · 551 Bytes

GraphQL-UnnecessaryFieldCamelize.md

File metadata and controls

27 lines (17 loc) · 551 Bytes

Pattern: Unnecessary field camelize

Issue: -

Description

Checks if each field has an unnecessary camelize.

Examples

# good

class UserType < BaseType
  field :name, String, "Name of the user", null: true
end

# bad

class UserType < BaseType
  field :name, "Name of the user", String, null: true, camelize: true
end

Further Reading