Class: ElasticGraph::SchemaDefinition::SchemaElements::ObjectType
- Inherits:
-
TypeWithSubfields
- Object
- Struct
- TypeWithSubfields
- ElasticGraph::SchemaDefinition::SchemaElements::ObjectType
- Includes:
- Mixins::HasIndices, Mixins::ImplementsInterfaces
- Defined in:
- elasticgraph-schema_definition/lib/elastic_graph/schema_definition/schema_elements/object_type.rb
Overview
Defines a GraphQL object type Use it to define a concrete type that
has subfields. Object types can either be indexed (e.g. directly indexed in the datastore, and available to query from the
root Query
object) or embedded in other indexed types.
Constant Summary
Constants included from Mixins::HasTypeInfo
Mixins::HasTypeInfo::CUSTOMIZABLE_DATASTORE_PARAMS
Instance Attribute Summary
Attributes included from Mixins::HasDocumentation
Method Summary
Methods included from Mixins::ImplementsInterfaces
#implemented_interfaces, #implements, #to_sdl
Methods included from Mixins::HasIndices
#derive_indexed_type_fields, #derived_indexed_types, #index, #indexed?, #plural_root_query_field_name, #root_query_fields, #singular_root_query_field_name
Methods inherited from TypeWithSubfields
#deleted_field, #field, #name, #paginated_collection_field, #relates_to_many, #relates_to_one, #renamed_from
Methods included from Mixins::HasTypeInfo
#json_schema, #json_schema_options, #mapping, #mapping_options
Methods included from Mixins::HasDerivedGraphQLTypeCustomizations
#customize_derived_type_fields, #customize_derived_types
Methods included from Mixins::HasDirectives
#directive, #directives, #directives_sdl
Methods included from Mixins::HasDocumentation
#append_to_documentation, #derived_documentation, #documentation, #formatted_documentation