Class: GraphQL::SchemaComparator::Changes::FieldArgumentRemoved
- Inherits:
-
Object
- Object
- GraphQL::SchemaComparator::Changes::FieldArgumentRemoved
- Defined in:
- lib/graphql/schema_comparator/changes.rb
Instance Attribute Summary collapse
-
#argument ⇒ Object
readonly
Returns the value of attribute argument.
-
#breaking ⇒ Object
readonly
Returns the value of attribute breaking.
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#object_type ⇒ Object
readonly
Returns the value of attribute object_type.
Instance Method Summary collapse
-
#initialize(object_type, field, argument) ⇒ FieldArgumentRemoved
constructor
A new instance of FieldArgumentRemoved.
- #message ⇒ Object
Constructor Details
#initialize(object_type, field, argument) ⇒ FieldArgumentRemoved
Returns a new instance of FieldArgumentRemoved.
91 92 93 94 95 96 |
# File 'lib/graphql/schema_comparator/changes.rb', line 91 def initialize(object_type, field, argument) @object_type = object_type @field = field @argument = argument @breaking = true end |
Instance Attribute Details
#argument ⇒ Object (readonly)
Returns the value of attribute argument.
89 90 91 |
# File 'lib/graphql/schema_comparator/changes.rb', line 89 def argument @argument end |
#breaking ⇒ Object (readonly)
Returns the value of attribute breaking.
89 90 91 |
# File 'lib/graphql/schema_comparator/changes.rb', line 89 def breaking @breaking end |
#field ⇒ Object (readonly)
Returns the value of attribute field.
89 90 91 |
# File 'lib/graphql/schema_comparator/changes.rb', line 89 def field @field end |
#object_type ⇒ Object (readonly)
Returns the value of attribute object_type.
89 90 91 |
# File 'lib/graphql/schema_comparator/changes.rb', line 89 def object_type @object_type end |
Instance Method Details
#message ⇒ Object
98 99 100 |
# File 'lib/graphql/schema_comparator/changes.rb', line 98 def "Argument `#{argument.name}: #{argument.type}` was removed from field `#{object_type.name}.#{field.name}`" end |