graphql.nadel.hints.NadelShortCircuitEmptyQueryHint.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nadel Show documentation
Show all versions of nadel Show documentation
Nadel is a Java library that combines multiple GrahpQL services together into one API.
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