Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Shareable
- Included in:
- FieldExtension, 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/#shareable].
Instance Method Summary collapse
-
#apollo_shareable ⇒ void
Adds the directive[https://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 directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#shareable] to the schema element.
259 260 261 |
# File 'elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 259 def apollo_shareable directive "shareable" end |