Module: ApolloFederation::ServiceField::ClassMethods

Extended by:
GraphQL::Schema::Member::HasFields
Defined in:
lib/apollo-federation/service_field.rb

Instance Method Summary collapse

Instance Method Details

#define_service_fieldObject



15
16
17
# File 'lib/apollo-federation/service_field.rb', line 15

def define_service_field
  field(:_service, Service, null: false)
end