discriminator

case class discriminator(name: String) extends Annotation

Defines the name of the discriminator field of a generic tagged schema.

Annotate a sealed trait definition with this annotation to define the name of its discriminator field.

Value parameters:
name

Name of the tagged discriminator field

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
Product