Skip to content

DescriptorValue

type DescriptorValue<T> = TypedPrimitive<T> | SchemaToken<T>

Accepted value types for a single field within a schema descriptor.

A field can be backed by either a TypedPrimitive parser (e.g. int, str, uuid) or a nested SchemaToken produced by schema, enabling structural composition.

Learn: Primitives and builders

Last updated: