internal suspend fun getFromGraphQL(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment): Any?
Gets the result of a GraphQL query Uses the cache to obtain the result, and if no cache entry was found, creates a new database query and executes it
Return
the result, including a new local context
Parameters
nodeQueryParser
used to obtain the NodeDefinitionCollection and ObjectMapper
dataFetchingEnvironment
environment to fetch data, used to parse subtree of fetched nodes