How to use the inversify.METADATA_KEY.POST_CONSTRUCT function in inversify

To help you get started, we’ve selected a few inversify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github betagouv / preuve-covoiturage / api / core / src / container / ContainerDecorators.ts View on Github external
return function (target) {
    const metadata = new Metadata(METADATA_KEY.POST_CONSTRUCT, 'boot');
    Reflect.defineMetadata(METADATA_KEY.POST_CONSTRUCT, metadata, target);
    return injectable()(target);
  };
}
github betagouv / preuve-covoiturage / api / core / src / container / ContainerDecorators.ts View on Github external
return function (target) {
    const metadata = new Metadata(METADATA_KEY.POST_CONSTRUCT, 'boot');
    Reflect.defineMetadata(METADATA_KEY.POST_CONSTRUCT, metadata, target);
    return injectable()(target);
  };
}