class GraphQL::SchemaComparator::Changes::DirectiveArgumentAdded
Attributes
argument[R]
criticality[R]
directive[R]
Public Class Methods
new(directive, argument)
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 1025 def initialize(directive, argument) @criticality = if argument.type.non_null? Changes::Criticality.breaking else Changes::Criticality.non_breaking end @directive = directive @argument = argument end
Public Instance Methods
message()
click to toggle source
# File lib/graphql/schema_comparator/changes.rb, line 1035 def message "Argument `#{argument.graphql_name}` was added to directive `#{directive.graphql_name}`" end