TypedForm

works.iterative.forms.TypedForm
See theTypedForm companion class
object TypedForm

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TypedForm.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def field[A](id: RelativePath)(using schema: InputSchema[A]): TypedForm[A]

A field whose type, required-ness and codec derive from the input schema: a present non-blank value decodes through the schema, a missing or blank one is a required error for required schemas and a success for optional ones.

A field whose type, required-ness and codec derive from the input schema: a present non-blank value decodes through the schema, a missing or blank one is a required error for required schemas and a success for optional ones.

Attributes

def section[A](id: RelativePath, sectionType: String = ...)(content: TypedForm[A]): TypedForm[A]

Concrete fields

val unit: TypedForm[EmptyTuple]

Extensions

Extensions

extension [A](t: TypedForm[A])
def *:[B <: Tuple](that: TypedForm[B]): TypedForm[A *: B]