Validator
object Validator
class Object
trait Matchable
class Any
Type members
Classlikes
case class Context(document: Document, rootType: RootType, operations: List[OperationDefinition], fragments: Map[String, FragmentDefinition], selectionSets: List[Selection])
Value members
Concrete methods
def prepare[R](document: Document, rootType: RootType, rootSchema: RootSchema[R], operationName: Option[String], variables: Map[String, InputValue], skipValidation: Boolean): IO[ValidationError, ExecutionRequest]
Prepare the request for execution. Fails with a caliban.CalibanError.ValidationError otherwise.
Prepare the request for execution. Fails with a caliban.CalibanError.ValidationError otherwise.
Verifies that the given document is valid for this type. Fails with a caliban.CalibanError.ValidationError otherwise.
Verifies that the given document is valid for this type. Fails with a caliban.CalibanError.ValidationError otherwise.
Verifies that the given schema is valid. Fails with a caliban.CalibanError.ValidationError otherwise.
Verifies that the given schema is valid. Fails with a caliban.CalibanError.ValidationError otherwise.