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

caliban.execution.Deferred.scala Maven / Gradle / Ivy

The newest version!
package caliban.execution

import caliban.PathValue
import caliban.schema.ReducedStep

sealed trait Deferred[-R] {
  def path: List[PathValue]
  def label: Option[String]
}

case class DeferredFragment[-R](
  path: List[PathValue],
  step: ReducedStep[R],
  label: Option[String]
) extends Deferred[R]

case class DeferredStream[-R](
  path: List[PathValue],
  step: ReducedStep.StreamStep[R],
  label: Option[String],
  startFrom: Int
) extends Deferred[R]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy