Class: GraphQL::StaticValidation::VariableUsagesAreAllowed::FragmentVariableUsage
- Inherits:
-
Struct
- Object
- Struct
- GraphQL::StaticValidation::VariableUsagesAreAllowed::FragmentVariableUsage
- Defined in:
- lib/graphql/static_validation/rules/variable_usages_are_allowed.rb
Overview
A variable in a fragment. It's checked after the visit, against each operation which uses the fragment.
list_depth is the number of list literals around the variable.
Instance Attribute Summary collapse
-
#arg_node ⇒ Object
Returns the value of attribute arg_node.
-
#argument_owner ⇒ Object
Returns the value of attribute argument_owner.
-
#checked_variable_types ⇒ Object
Returns the value of attribute checked_variable_types.
-
#list_depth ⇒ Object
Returns the value of attribute list_depth.
-
#path ⇒ Object
Returns the value of attribute path.
-
#variable_name ⇒ Object
Returns the value of attribute variable_name.
Instance Attribute Details
#arg_node ⇒ Object
Returns the value of attribute arg_node
11 12 13 |
# File 'lib/graphql/static_validation/rules/variable_usages_are_allowed.rb', line 11 def arg_node @arg_node end |
#argument_owner ⇒ Object
Returns the value of attribute argument_owner
11 12 13 |
# File 'lib/graphql/static_validation/rules/variable_usages_are_allowed.rb', line 11 def argument_owner @argument_owner end |
#checked_variable_types ⇒ Object
Returns the value of attribute checked_variable_types
11 12 13 |
# File 'lib/graphql/static_validation/rules/variable_usages_are_allowed.rb', line 11 def checked_variable_types @checked_variable_types end |
#list_depth ⇒ Object
Returns the value of attribute list_depth
11 12 13 |
# File 'lib/graphql/static_validation/rules/variable_usages_are_allowed.rb', line 11 def list_depth @list_depth end |
#path ⇒ Object
Returns the value of attribute path
11 12 13 |
# File 'lib/graphql/static_validation/rules/variable_usages_are_allowed.rb', line 11 def path @path end |
#variable_name ⇒ Object
Returns the value of attribute variable_name
11 12 13 |
# File 'lib/graphql/static_validation/rules/variable_usages_are_allowed.rb', line 11 def variable_name @variable_name end |