Setu-TS
    Preparing search index...

    Variable RESPONSE_METADATAConst

    RESPONSE_METADATA: unique symbol = ...

    Key under which a RouteHandler carries its RouteResponseMetadata.

    Created with Symbol.for, not Symbol(), so two copies of this package in one process resolve the same key — the SECURITY_METADATA precedent, and for the same reason: a locally-created symbol would simply miss on every read, silently.

    The HANDLER is the carrier rather than a middleware function, unlike SECURITY_METADATA and VALIDATION_METADATA. Those two brand middleware because a guard and a validator ARE middleware; a success status is a property of the handler, and a route may carry no middleware at all — branding a synthetic middleware purely to carry it would add a pipeline entry that does nothing.

    Prefer withResponseMetadata and responseMetadataOf over touching this directly; the symbol is exported so a handler produced outside @setu-ts/decorator-plugin can be branded too.

    0.7.0