Method: GraphQL::StaticValidation::FragmentsAreUsedError#initialize
- Defined in:
- lib/graphql/static_validation/rules/fragments_are_used_error.rb
#initialize(message, path: nil, nodes: [], fragment:) ⇒ FragmentsAreUsedError
Returns a new instance of FragmentsAreUsedError.
7 8 9 10 |
# File 'lib/graphql/static_validation/rules/fragments_are_used_error.rb', line 7 def initialize(, path: nil, nodes: [], fragment:) super(, path: path, nodes: nodes) @fragment_name = fragment end |