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

graphql.nadel.hints.NadelShortCircuitEmptyQueryHint.kt Maven / Gradle / Ivy

Go to download

Nadel is a Java library that combines multiple GrahpQL services together into one API.

There is a newer version: 2024-12-10T04-34-06-f2ee9344
Show newest version
package graphql.nadel.hints

import graphql.nadel.Service

fun interface NadelShortCircuitEmptyQueryHint {
    /**
     * Determines whether empty queries containing only top level __typename fields should be short-circuited without
     * calling the underlying service and executed on the internal introspection service
     *
     * @param service the service we are sending the query to
     * @return true to execute the query on the internal introspection service
     */
    operator fun invoke(service: Service): Boolean
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy