class GraphQL::SchemaComparator::Changes::SchemaSubscriptionTypeChanged

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 422
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 428
def message
  "Schema subscription type has changed from `#{old_schema.subscription}` to `#{new_schema.subscription}`"
end
path() click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 432
def path
  # TODO
end