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 @tag
directive.
Instance Method Summary collapse
-
#apollo_tag(name:) ⇒ void
Adds the
@tag
directive to the schema element.
Instance Method Details
#apollo_tag(name:) ⇒ void
This method returns an undefined value.
Adds the @tag
directive
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 |