MessageMetadata

io.github.iltotore.iron.ZioBlocksSchemaConfig.MessageMetadata

Whether Iron's constraint message is retained as schema metadata.

Attributes

Source
zioBlocksSchema.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Modifier extends MessageMetadata

Add the message as Modifier.config("iron.validation.message", message).

Add the message as Modifier.config("iron.validation.message", message).

Attributes

Source
zioBlocksSchema.scala
case Omit extends MessageMetadata

Do not add the constraint message to schema metadata.

Do not add the constraint message to schema metadata.

Attributes

Source
zioBlocksSchema.scala