noDiscriminator

zio.schema.annotation.noDiscriminator
final case class noDiscriminator() extends StaticAnnotation

Indicates that an Enum should be encoded without any specific discriminator, relying on fallback on failure when decoding.

Attributes

Source
noDiscriminator.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala