Fields
Field types for declaring attributes on domain elements (aggregates, entities, value objects, commands, events, and projections).
See the hand-written Fields Reference for usage examples, definition styles, and field arguments table.
-
Simple Fields
Scalar field factories: String, Integer, Float, Boolean, Date, DateTime, and more.
-
Container Fields
List and Dict fields for collection-typed attributes.
-
Association Fields
HasOne, HasMany, and Reference for relationships between domain elements.
-
ValueObject Field
Field descriptor for embedding value objects within aggregates or entities.
-
FieldSpec
The internal field declaration carrier that all field factories produce.