Method: GraphQL::StaticValidation::SubscriptionRootExistsError#to_h

Defined in:
lib/graphql/static_validation/rules/subscription_root_exists_error.rb

#to_hObject

A hash representation of this Message



11
12
13
14
15
16
17
18
19
# File 'lib/graphql/static_validation/rules/subscription_root_exists_error.rb', line 11

def to_h
  extensions = {
    "code" => code,
  }

  super.merge({
    "extensions" => extensions
  })
end