class AggregatedRelationshipFieldDefinition(val graphQLName: String, val description: String, val properties: List<PropertyWithOwner>) : FieldDefinition
Parameters
graphQLName
the name of the GraphQL field
description
the description of the GraphQL field
properties
properties defining the aggregation path
Properties
Link copied to clipboard
Cached list of RelationshipDefinitions mapped from properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Creates the field result for a graphql query
Link copied to clipboard
open override fun createQueryEntry(dfe: DataFetchingEnvironment, context: FieldFetchingContext, nodeQueryParser: NodeQueryParser, onlyOnTypes: List<NodeDefinition>?): NodeQueryEntry<*>
Creates the query part entry which can be used to fetch this field
Link copied to clipboard
internal open override fun generateFieldDefinition(transformationContext: SchemaTransformationContext): GraphQLFieldDefinition
Generates a field definition
Link copied to clipboard
private fun getRelationshipDefinitions(nodeDefinitionCollection: NodeDefinitionCollection): List<RelationshipDefinition>
Gets the RelationshipDefinition that properties represent. Caches the result