suspend fun getNodeQuery(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment, @Autowired nodeQueryEngine: NodeQueryEngine, @Autowired objectMapper: ObjectMapper): DataFetcherResult<Connection<T>>

Handles the query for the specific Node type

Return

the result with the correct local context

Parameters

nodeQueryParser

used to parse the query

dataFetchingEnvironment

necessary to generate the node query, used for caching

nodeQueryEngine

used to execute the query

objectMapper

necessary for cursor encoding and decoding