Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Extends
- Included in:
- InterfaceTypeExtension, ObjectTypeExtension
- 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/#extends].
Instance Method Summary collapse
-
#apollo_extends ⇒ void
Adds the directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#extends] to the schema element.
Instance Method Details
#apollo_extends ⇒ void
This method returns an undefined value.
Adds the directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#extends] to the schema element.
47 48 49 |
# File 'elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 47 def apollo_extends directive "extends" end |