Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Tag
- Included in:
- ElasticGraph::Apollo::SchemaDefinition::ArgumentExtension, EnumTypeExtension, EnumValueExtension, FieldExtension, InputTypeExtension, InterfaceTypeExtension, ObjectTypeExtension, ScalarTypeExtension, UnionTypeExtension
- 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/#tag].
Instance Method Summary collapse
-
#apollo_tag(name:) ⇒ void
Adds the directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#tag] to the schema element.
Instance Method Details
#apollo_tag(name:) ⇒ void
This method returns an undefined value.
Adds the directive[https://www.apollographql.com/docs/federation/federated-types/federated-directives/#tag] to the schema element.
280 281 282 |
# File 'elasticgraph-apollo/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 280 def apollo_tag(name:) directive "tag", name: name end |