Registers a mapping between a generated (e.g., decorated or proxied) constructor
and its original, underlying constructor.
This allows libraries or consumers that manipulate constructors, such as through
class decorators, to inform the DI system about the real "identity" of a class.
This API affects the core class identity resolution mechanism of the DI system.
Incorrect usage may cause metadata to be misassociated, leading to subtle errors.
Use only when manipulating constructors (e.g., via decorators or proxies),
and ensure the mapping is correct.
Registers a mapping between a generated (e.g., decorated or proxied) constructor and its original, underlying constructor.
This allows libraries or consumers that manipulate constructors, such as through class decorators, to inform the DI system about the real "identity" of a class.