class GraphQL::SchemaComparator::Changes::SchemaQueryTypeChanged

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 201
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 207
def message
  "Schema query root has changed from `#{old_schema.query.graphql_name}` to `#{new_schema.query.graphql_name}`"
end
path() click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 211
def path
  # TODO
end