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

sangria.schema.DefaultValueParser.scala Maven / Gradle / Ivy

The newest version!
package sangria.schema

import sangria.marshalling.{InputParser, ToInput}

case class DefaultValueParser[T](
    schema: Schema[_, _],
    parser: InputParser[T],
    toInput: ToInput[T, _])

object DefaultValueParser {
  def forType[T](schema: Schema[_, _])(implicit
      parser: InputParser[T],
      toInput: ToInput[T, _]): DefaultValueParser[T] =
    DefaultValueParser[T](schema, parser, toInput)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy