class GraphQL::SchemaComparator::Changes::FieldArgumentDescriptionChanged
Attributes
criticality[R]
field[R]
new_argument[R]
old_argument[R]
type[R]
Public Class Methods
new(type, field, old_argument, new_argument)
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 784 def initialize(type, field, old_argument, new_argument) @criticality = Changes::Criticality.non_breaking @type = type @field = field @old_argument = old_argument @new_argument = new_argument end
Public Instance Methods
message()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 792 def message "Description for argument `#{new_argument.graphql_name}` on field `#{type.graphql_definition}.#{field.graphql_name}` changed"\ " from `#{old_argument.description}` to `#{new_argument.description}`" end
path()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 797 def path [type.graphql_definition, field.graphql_name, old_argument.graphql_name].join(".") end