Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Provides
- Included in:
- FieldExtension
- Defined in:
- elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb
Overview
Supports Apollo’s @provides
directive.
Instance Method Summary collapse
-
#apollo_provides(fields:) ⇒ void
Adds the
@provides
directive to the schema element.
Instance Method Details
#apollo_provides(fields:) ⇒ void
This method returns an undefined value.
Adds the @provides
directive
to the schema element.
196 197 198 |
# File 'elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 196 def apollo_provides(fields:) directive "provides", fields: fields end |