Saxonberg Server API
    Preparing search index...

    Interface PropOptionsInput<T>

    Optional marshaller knob the author passes to initProp for persistent props that hold rich value objects (Quantity, future value classes). The path resolves through StuffApi.findByTemplatePath to a registered Marshaller; the mixin applies toStored on write and fromStored on read so setProp / getProp see the runtime type, while storage carries the raw shape.

    Persisted alongside savedProps as the per-prop marshaller binding so loaded data round-trips correctly across restarts without re-declaring the binding at every boot.

    interface PropOptionsInput<T extends PropValue> {
        checkAccess?: PropAccessCheck<T>;
        marshaller?: string;
        transient?: boolean;
    }

    Type Parameters

    Hierarchy

    Index

    Properties

    checkAccess?: PropAccessCheck<T>

    Access control function. Called before every property operation. If not provided, uses defaultPropAccess().

    marshaller?: string
    transient?: boolean

    If true, property is memory-only (not persisted). If false, property is saved to database. Default: true