Method: GraphQL::Schema::Directive.on_fragment?
- Defined in:
- lib/graphql/schema/directive.rb
.on_fragment? ⇒ Boolean
87 88 89 |
# File 'lib/graphql/schema/directive.rb', line 87 def on_fragment? locations.include?(FRAGMENT_SPREAD) && locations.include?(INLINE_FRAGMENT) end |