Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Shareable
- Included in:
- FieldExtension, ObjectTypeExtension
- Defined in:
- lib/elastic_graph/apollo/schema_definition/apollo_directives.rb
Overview
Supports Apollo’s [‘@shareable` directive](www.apollographql.com/docs/federation/federated-types/federated-directives/#shareable).
Instance Method Summary collapse
-
#apollo_shareable ⇒ void
Adds the [‘@shareable` directive](www.apollographql.com/docs/federation/federated-types/federated-directives/#shareable) to the schema element.
Instance Method Details
#apollo_shareable ⇒ void
This method returns an undefined value.
Adds the [‘@shareable` directive](www.apollographql.com/docs/federation/federated-types/federated-directives/#shareable) to the schema element.
259 260 261 |
# File 'lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 259 def apollo_shareable directive "shareable" end |