Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Override
- Included in:
- FieldExtension
- Defined in:
- elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb
Overview
Supports Apollo’s @override
directive.
Instance Method Summary collapse
-
#apollo_override(from:) ⇒ void
Adds the
@override
directive to the schema element.
Instance Method Details
#apollo_override(from:) ⇒ void
This method returns an undefined value.
Adds the @override
directive
to the schema element.
150 151 152 |
# File 'elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 150 def apollo_override(from:) directive "override", from: from end |