play.api.data.mapping.forms.package.scala Maven / Gradle / Ivy
package play.api.data.mapping
/**
* Contains the validation API used by `Form`.
*
* For example, to define a custom constraint:
* {{{
* val negative = Constraint[Int] {
* case i if i < 0 => Valid
* case _ => Invalid("Must be a negative number.")
* }
* }}}
*/
package object forms {
type UrlFormEncoded = Map[String, Seq[String]]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy