Docs / API / Annotations

Annotations

com.s8.meta.api.annotations

S8 discovers structure from annotations on your types. This is the persistency and front contract.

Catalog

AnnotationTargetMembers
@S8ObjectTypeTYPEname(), sub()
@S8FieldFIELDname(), export()
@S8Getter / @S8SetterMETHOD / FIELDname() (getter also export)
@S8MethodMETHODname(), flow(), props(), mask()
@S8ParamPARAMETERname(), flow(), props(), mask()
@S8RowTypeTYPEname() — fixed storage; evolve via a new type
@S8SerialFIELDmarker
@S8SerialTypeTYPEname(), sub()
Intent The name you put in the annotation is the wire name. Keep it stable. Rename Java identifiers freely; do not rename wire names without a migration.