Module: GraphQL::StaticValidation::FragmentTypesExist
- Defined in:
- lib/graphql/static_validation/rules/fragment_types_exist.rb
Instance Method Summary collapse
Instance Method Details
#on_fragment_definition(node, _parent) ⇒ Object
5 6 7 8 9 |
# File 'lib/graphql/static_validation/rules/fragment_types_exist.rb', line 5 def on_fragment_definition(node, _parent) if validate_type_exists(node) super end end |
#on_inline_fragment(node, _parent) ⇒ Object
11 12 13 14 15 |
# File 'lib/graphql/static_validation/rules/fragment_types_exist.rb', line 11 def on_inline_fragment(node, _parent) if validate_type_exists(node) super end end |