class GraphQL::SchemaComparator::Changes::TypeDescriptionChanged
Attributes
criticality[R]
new_type[R]
old_type[R]
Public Class Methods
new(old_type, new_type)
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 662 def initialize(old_type, new_type) @old_type = old_type @new_type = new_type @criticality = Changes::Criticality.non_breaking end
Public Instance Methods
message()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 668 def message "Description `#{old_type.description}` on type `#{old_type.graphql_definition}` has changed to `#{new_type.description}`" end
path()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 672 def path old_type.graphql_definition.to_s end