graphql.nadel.enginekt.blueprint.hydration.NadelBatchHydrationMatchStrategy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nadel-engine-nextgen Show documentation
Show all versions of nadel-engine-nextgen Show documentation
Nadel is a Java library that combines multiple GrahpQL services together into one API.
The newest version!
package graphql.nadel.enginekt.blueprint.hydration
import graphql.nadel.enginekt.transform.query.NadelQueryPath
sealed class NadelBatchHydrationMatchStrategy {
object MatchIndex : NadelBatchHydrationMatchStrategy()
data class MatchObjectIdentifier(
val sourceId: NadelQueryPath,
// todo should also be NadelQueryPath
val resultId: String,
) : NadelBatchHydrationMatchStrategy()
data class MatchObjectIdentifiers(
val objectIds: List,
) : NadelBatchHydrationMatchStrategy()
}