internal fun generateOneNodeQuery(definition: NodeDefinition, context: FieldFetchingContext, additionalConditions: List<CypherConditionGenerator>, authorizationCondition: CypherConditionGenerator?): NodeQuery
Generates a NodeQuery which loads a single Node Can use the dataFetchingEnvironment to fetch a subtree of node
Return
the generated NodeQuery to load the node
Parameters
definition
NodeDefinition of the node to load
context
provides the sub-selection set, result path and arguments
additionalConditions
list of conditions which are applied to filter the returned node
authorizationCondition
optional authorization condition generated for the current query
private fun generateOneNodeQuery(nodeDefinition: NodeDefinition, context: FieldFetchingContext, additionalConditions: List<CypherConditionGenerator>): NodeQuery
Generates a NodeQuery which loads a single Node Can use the dataFetchingEnvironment to fetch a subtree of node
Return
the generated NodeQuery to load the node
Parameters
nodeDefinition
definition of the node to load
context
provides the sub-selection set, result path and arguments
additionalConditions
list of conditions which are applied to filter the returned node, including authorization condition