Method: GraphQL::StaticValidation::FieldsWillMergeError#to_h
- Defined in:
- lib/graphql/static_validation/rules/fields_will_merge_error.rb
#to_h ⇒ Object
A hash representation of this Message
44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/graphql/static_validation/rules/fields_will_merge_error.rb', line 44 def to_h extensions = { "code" => code, "fieldName" => field_name, "conflicts" => conflicts } super.merge({ "extensions" => extensions }) end |