Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
o

FormRowKey

object FormRowKey

Validation, allocation, and access operations for FormRowKey.

Defined by scalive.FormRowKey. View source (scalive/api/src/scalive/forms/FormAddress.scala:103-153)

Extension methods1

value

extension def value[Group](key: FormRowKey[Group]): String

Returns the validated wire representation.

Defined by scalive.FormRowKey.value. View source (scalive/api/src/scalive/forms/FormAddress.scala:152-152)

Methods2

from

def from[Group](value: String): Either[FormRowKey.Error, FormRowKey[Group]]

Validates an external key: 1 to MaxLength ASCII letters, digits, underscores, or hyphens.

Defined by scalive.FormRowKey.from. View source (scalive/api/src/scalive/forms/FormAddress.scala:134-140)

random

def random[Group]: zio.package.UIO[FormRowKey[Group]]

Allocates a UUID-based key suitable for a new client-side row.

Defined by scalive.FormRowKey.random. View source (scalive/api/src/scalive/forms/FormAddress.scala:147-148)

Values1

MaxLength

val MaxLength: Int

Maximum accepted key length in UTF-16 code units.

Defined by scalive.FormRowKey.MaxLength. View source (scalive/api/src/scalive/forms/FormAddress.scala:105-105)