All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.graphglue.data.LazyLoadingContext.kt Maven / Gradle / Ivy

Go to download

A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies

The newest version!
package io.github.graphglue.data

import io.github.graphglue.data.execution.NodeQueryEngine
import io.github.graphglue.data.execution.NodeQueryParser

/**
 * Context used to lazily load nodes
 *
 * @param nodeQueryParser used to generate the Cypher query
 * @param nodeQueryEngine used to execute the Cypher query
 */
class LazyLoadingContext(
    val nodeQueryParser: NodeQueryParser,
    val nodeQueryEngine: NodeQueryEngine
) {
    /**
     * used to access node definitions
     */
    val nodeDefinitionCollection = nodeQueryParser.nodeDefinitionCollection
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy