FormCodec

works.iterative.forms.FormCodec
final case class FormCodec[A](decode: FormData => Validated[A], encode: A => FormData)

Typed capture of a form's data, bound to the form's root path: decode accumulates errors across fields, encode produces the FormData an interpreter renders from.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product