Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Tag
- Included in:
- ElasticGraph::Apollo::SchemaDefinition::ArgumentExtension, EnumTypeExtension, EnumValueExtension, FieldExtension, InputTypeExtension, InterfaceTypeExtension, ObjectTypeExtension, ScalarTypeExtension, UnionTypeExtension
- Defined in:
- lib/elastic_graph/apollo/schema_definition/apollo_directives.rb
Instance Method Summary collapse
-
#apollo_tag(name:) ⇒ Object
Extension method designed to support Apollo’s tag directive: www.apollographql.com/docs/federation/federated-types/federated-directives/#tag.
Instance Method Details
#apollo_tag(name:) ⇒ Object
Extension method designed to support Apollo’s tag directive: www.apollographql.com/docs/federation/federated-types/federated-directives/#tag
112 113 114 |
# File 'lib/elastic_graph/apollo/schema_definition/apollo_directives.rb', line 112 def apollo_tag(name:) directive "tag", name: name end |