Method: GraphQL::StaticValidation::FieldsAreDefinedOnTypeError#to_h
- Defined in:
- lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb
#to_h ⇒ Object
A hash representation of this Message
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/graphql/static_validation/rules/fields_are_defined_on_type_error.rb', line 15 def to_h extensions = { "code" => code, "typeName" => type_name, "fieldName" => field_name } super.merge({ "extensions" => extensions }) end |