class GraphQL::SchemaComparator::Changes::SchemaMutationTypeChanged

Attributes

criticality[R]
new_schema[R]
old_schema[R]

Public Class Methods

new(old_schema, new_schema) click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 404
def initialize(old_schema, new_schema)
  @old_schema = old_schema
  @new_schema = new_schema
  @criticality = Changes::Criticality.breaking
end

Public Instance Methods

message() click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 410
def message
  "Schema mutation root has changed from `#{old_schema.mutation}` to `#{new_schema.mutation}`"
end
path() click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 414
def path
  # TODO
end