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 directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#override].
Instance Method Summary collapse
-
#apollo_override(from:) ⇒ void
Adds the directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#override] to the schema element.
Instance Method Details
#apollo_override(from:) ⇒ void
This method returns an undefined value.
Adds the directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#override] 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 |