Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Extends
- Included in:
- InterfaceTypeExtension, ObjectTypeExtension
- Defined in:
- lib/elastic_graph/apollo/schema_definition/apollo_directives.rb
Overview
Supports Apollo’s [‘@extends` directive](www.apollographql.com/docs/federation/federated-types/federated-directives/#extends).
Instance Method Summary collapse
-
#apollo_extends ⇒ void
Adds the [‘@extends` directive](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 [‘@extends` directive](www.apollographql.com/docs/federation/federated-types/federated-directives/#extends) to the schema element.
47 48 49 |
# File 'lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 47 def apollo_extends directive "extends" end |