module GraphQL::StaticValidation::FragmentTypesExist
Public Instance Methods
(GraphQL::Language::Nodes::FragmentDefinition node, GraphQL::Language::Nodes::AbstractNode? _parent) → void
Source
# File lib/graphql/static_validation/rules/fragment_types_exist.rb, line 10 def on_fragment_definition(node, _parent) if validate_type_exists(node) super end end
Calls superclass method
(GraphQL::Language::Nodes::InlineFragment node, GraphQL::Language::Nodes::AbstractNode? _parent) → void
Source
# File lib/graphql/static_validation/rules/fragment_types_exist.rb, line 17 def on_inline_fragment(node, _parent) if validate_type_exists(node) super end end
Calls superclass method