Module: GraphitiGraphQL::Federation::ResourceDSL
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/graphiti_graphql/federation/resource_dsl.rb
Defined Under Namespace
Classes: TypeProxy
Instance Method Summary collapse
-
#gql? ⇒ Boolean
Certain attributes should only work in GQL context.
Instance Method Details
#gql? ⇒ Boolean
Certain attributes should only work in GQL context
119 120 121 |
# File 'lib/graphiti_graphql/federation/resource_dsl.rb', line 119 def gql? Graphiti.context[:graphql] end |