Pattern: Wrong field order
Issue: -
Fields should be alphabetically sorted within groups.
# good
class UserType < BaseType
field :name, String, null: true
field :phone, String, null: true do
argument :something, String, required: false
end
end
# good
class UserType < BaseType
field :phone, String, null: true
field :name, String, null: true
end
# bad
class UserType < BaseType
field :phone, String, null: true
field :name, String, null: true
end