class GraphQL::StaticValidation::FragmentSpreadsArePossible::FragmentSpread
Attributes
parent_type
[R]
GraphQL::Schema::Member::type_definition?
Public Class Methods
(node: GraphQL::Language::Nodes::FragmentSpread, parent_type: GraphQL::Schema::Member::type_definition?, path: Array[String | Integer]) → void
Source
# File lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb, line 84 def initialize(node:, parent_type:, path:) @node = node #: GraphQL::Language::Nodes::FragmentSpread @parent_type = parent_type #: GraphQL::Schema::Member::type_definition? @path = path #: Array[String | Integer] end