sangria.schema.DefaultValueParser.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sangria-core_2.13 Show documentation
Show all versions of sangria-core_2.13 Show documentation
Scala GraphQL implementation
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