fun DataFetchingEnvironment.getParentNodeDefinition(nodeDefinitionCollection: NodeDefinitionCollection): NodeDefinition

Gets the NodeDefinition associated with the parent type Uses NodeDefinitionCollection.getNodeDefinitionsFromGraphQLNames to find the correct NodeDefinition

Return

the found NodeDefinition

Parameters

nodeDefinitionCollection

collection of all known NodeDefinitions