SchemaDsl

org.hungerford.generic.schema.SchemaDsl
trait SchemaDsl

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object exports.type

Members list

Concise view

Extensions

Extensions

extension (sch: Schema.type)
def productBuilder[T]: ProductSchemaBuilder[T, EmptyTuple, EmptyTuple, Nothing, Unit, Unit, Unit]
extension (sch: Schema.type)
def derivedBuilder[T](using bldDeriv: SchemaBuildDeriver[T]): Builder
extension (sch: Schema.type)
def singleton[T <: Singleton, N <: TypeName](value: T, name: N): Aux[T, SingletonShape[T, N]]
def singletonBuilder[T <: Singleton]: SingletonSchemaBuilder[T, Unit]
def singletonBuilderOf[T <: Singleton](value: T): SingletonSchemaBuilder[T, Unit]
extension (sch: Schema.type)
def primitive[T]: Aux[T, Unit]
extension (sch: Schema.type)
def coproductBuilder[T]: CoproductSchemaBuilder[T, EmptyTuple, Unit, Unit]
extension (sch: Schema.type)
def derived[T](using sd: SchemaDeriver[T]): Aux[T, Shape]
extension [T, S](schema: Aux[T, S])
extension [T, S](schema: Aux[T, S])
def modifyComponent[Sel <: Tuple, Inner](selector: Selector[Sel])(using crt: Aux[Aux[T, S], Sel, Inner]): Updater[Aux[T, S], Inner, Sel]
extension [T, S](schema: Aux[T, S])
def validate(value: T)(using valid: Validation[T, Aux[T, S]]): Boolean
extension [T, S](schema: Aux[T, S])
extension [T, S](schema: Aux[T, S])
def withExamples(examples: T*): Aux[T, S]
extension [T, S](schema: Aux[T, S])
def withDescription(description: String): Aux[T, S]
extension [T, S](schema: Aux[T, S])
def withValidation(validators: Validator[T]*): Aux[T, S]
extension [T, S](schema: Aux[T, S])
def withoutName: Aux[T, S]
extension [T, S](schema: Aux[T, S])
def withName(name: String): Aux[T, S]
extension [T, S](schema: Aux[T, S])
def apply[Sel <: Tuple](selector: Selector[Sel])(using crt: ComponentRetriever[Aux[T, S], Sel]): Inner
extension [T, S](schema: Aux[T, S])
def extractSchema[InnerT](using extr: SchemaExtractor[InnerT, Aux[T, S]]): Aux[InnerT, Shape]
extension [T, S](schema: Aux[T, S])
def as[OtherSchema[_]](using tr: SchemaTranslator[T, S, OtherSchema]): OtherSchema[T]
extension [T, S](schema: Aux[T, S])
def withoutExamples: Aux[T, S]
extension [T, S](schema: Aux[T, S])
extension [T, S](schema: Aux[T, S])
def withDeprecated: Aux[T, S]
extension [T, S](schema: Aux[T, S])
def rebuild(using srb: SchemaRebuilder[T, S]): Builder