How to use the loopback-next/packages/loopback.inject function in loopback-next

To help you get started, we’ve selected a few loopback-next 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 strongloop / loopback4-example-microservices / services / facade / controllers / VitalsController.ts View on Github external
  constructor(@inject('app.info') private _info: VitalsResponse) {
    this._info = {uptime: 1000};
  }

loopback-next

[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/strongloop/loopback) [![Build Status](https://img.shields.io/travis/rust-lang/rust.svg)](https://travis-ci.org/strongloop/loopback-next)

MIT
Latest version published 7 years ago

Package Health Score

69 / 100
Full package analysis

Similar packages