Class: RuboCop::Cop::GraphQL::FieldDescription
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::GraphQL::FieldDescription
- Includes:
- GraphQL::NodePattern
- Defined in:
- lib/rubocop/cop/graphql/field_description.rb
Overview
This cop checks if each field has a description.
Constant Summary collapse
- MSG =
"Missing field description"
- RESTRICT_ON_SEND =
%i[field].freeze
Instance Method Summary collapse
Methods included from GraphQL::NodePattern
#argument?, #field?, #field_definition?, #field_definition_with_body?