Module: ElasticGraph::Apollo::SchemaDefinition::ApolloDirectives::Tag

Instance Method Summary collapse

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