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

sangria.marshalling.InputParser.scala Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package sangria.marshalling

import scala.annotation.implicitNotFound
import scala.util.Try

@implicitNotFound("Type ${T} cannot be used for schema materialization. Please consider defining an implicit instance of `InputParser` for it. It is required to parse the default values.")
trait InputParser[T] {
  def parse(str: String): Try[T]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy