class GraphQL::SchemaComparator::Changes::TypeAdded
Attributes
criticality[R]
type[R]
Public Class Methods
new(type)
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 628 def initialize(type) @type = type @criticality = Changes::Criticality.non_breaking end
Public Instance Methods
message()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 633 def message "Type `#{type.graphql_definition}` was added" end
path()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 637 def path type.graphql_definition.to_s end