SchemaFor

Companion
class
trait AutoDerivation[[T] =>> SchemaFor[T]]
trait Derivation[[T] =>> SchemaFor[T]]
trait CommonDerivation[[T] =>> SchemaFor[T]]
class Object
trait Matchable
class Any

Type members

Inherited types

type Typeclass[T] = TypeClass[T]
Inherited from
CommonDerivation

Value members

Concrete methods

def apply[T](s: Schema): SchemaFor[T]

Returns a SchemaFor that returns the given schema.

Returns a SchemaFor that returns the given schema.

def apply[T](using schemaFor: SchemaFor[T]): SchemaFor[T]
def from[T](f: => Schema): SchemaFor[T]

Inherited methods

inline def derived[A](using Of[A]): SchemaFor[A]
Inherited from
Derivation
inline def derivedMirror[A](using mirror: Of[A]): SchemaFor[A]
Inherited from
Derivation
inline def derivedMirrorProduct[A](product: ProductOf[A]): SchemaFor[A]
Inherited from
CommonDerivation
inline def derivedMirrorSum[A](sum: SumOf[A]): SchemaFor[A]
Inherited from
Derivation
def fixedStringSchemaFor(name: String, size: Int): SchemaFor[String]
Inherited from
StringSchemas
inline def getParams[T, Labels <: Tuple, Params <: Tuple](annotations: Map[String, List[Any]], typeAnnotations: Map[String, List[Any]], repeated: Map[String, Boolean], idx: Int): List[Param[Typeclass, T]]
Inherited from
CommonDerivation
def join[T](ctx: CaseClass[[T] =>> SchemaFor[T], T]): SchemaFor[T]
override def split[T](ctx: SealedTrait[[T] =>> SchemaFor[T], T]): SchemaFor[T]
Definition Classes
Inherited from
MagnoliaDerivedSchemas
inline def subtypes[T, SubtypeTuple <: Tuple](m: SumOf[T], idx: Int): List[Subtype[Typeclass, T, _]]
Inherited from
Derivation

Inherited fields

final lazy val ByteArraySchemaFor: SchemaFor[Array[Byte]]
Inherited from
ByteIterableSchemas
final lazy val ByteListSchemaFor: SchemaFor[List[Byte]]
Inherited from
ByteIterableSchemas
final lazy val ByteSeqSchemaFor: SchemaFor[Seq[Byte]]
Inherited from
ByteIterableSchemas
final lazy val ByteVectorSchemaFor: SchemaFor[Vector[Byte]]
Inherited from
ByteIterableSchemas
final lazy val DateSchemaFor: SchemaFor[Date]
Inherited from
TemporalSchemas
final lazy val InstantSchemaFor: SchemaFor[Instant]
Inherited from
TemporalSchemas
final lazy val LocalDateSchemaFor: SchemaFor[LocalDate]
Inherited from
TemporalSchemas
final lazy val LocalDateTimeSchemaFor: SchemaFor[LocalDateTime]
Inherited from
TemporalSchemas
final lazy val LocalTimeSchemaFor: SchemaFor[LocalTime]
Inherited from
TemporalSchemas
final lazy val OffsetDateTimeSchemaFor: SchemaFor[OffsetDateTime]
Inherited from
TemporalSchemas
final lazy val SchemaFor_Boolean: SchemaFor[Boolean]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_Byte: SchemaFor[Byte]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_ByteBuffer: SchemaFor[ByteBuffer]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_CharSequence: SchemaFor[CharSequence]
Inherited from
StringSchemas
final lazy val SchemaFor_Date: SchemaFor[Date]
Inherited from
TemporalSchemas
final lazy val SchemaFor_Double: SchemaFor[Double]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_Float: SchemaFor[Float]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_Long: SchemaFor[Long]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_None_type: SchemaFor[None]
Inherited from
OptionSchemas
final lazy val SchemaFor_Short: SchemaFor[Short]
Inherited from
PrimitiveSchemas
final lazy val SchemaFor_UUID: SchemaFor[UUID]
Inherited from
StringSchemas
final lazy val SchemaFor_Utf8: SchemaFor[Utf8]
Inherited from
StringSchemas
final lazy val StringSchemaFor: SchemaFor[String]
Inherited from
StringSchemas
final lazy val TimestampSchemaFor: SchemaFor[Timestamp]
Inherited from
TemporalSchemas
final lazy val intSchemaFor: SchemaFor[Int]
Inherited from
PrimitiveSchemas

Givens

Inherited givens

Inherited from
EitherSchemas
Inherited from
CollectionSchemas
Inherited from
OptionSchemas
Inherited from
CollectionSchemas
Inherited from
CollectionSchemas
Inherited from
EnumSchemas
Inherited from
TupleSchemas
Inherited from
TupleSchemas
Inherited from
TupleSchemas
Inherited from
TupleSchemas
Inherited from
TupleSchemas
given autoDerived: TypeClass[A]
Inherited from
AutoDerivation