• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

strongloop / loopback-next / 2313
93%
master: 76%

Build:
Build:
LAST BUILD BRANCH: pm2-deployment-docs
DEFAULT BRANCH: master
Ran 27 Sep 2017 09:12AM UTC
Jobs 2
Files 66
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2313

push

travis-ci

bajtos
feat(context): introduce GetValueOptions

Introduce a second optional parameter of getter methods in Context
class. Modify `@inject` to accept GetValueOptions as part of the second
"metadata" argument. Modify `resolve` to pass `@inject` metadata to the
context getter method.

With this foundation in place, rework the way how nested properties are
retrieved: drop support for string-encoded "key#path" pair, use a new
option "property" instead.

BREAKING CHANGE: injection keys using "#" to build a key+path pair are
no longer supported. The property path should be specified via the new
options argument.

Before:

    const port = ctx.getSync('config#rest.port');
    @inject('config#rest.port')

Now:

    const port = ctx.getSync('config', {property: 'rest.port'});
    @inject('config', {property: 'rest.port'});

479 of 545 branches covered (87.89%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 2 files covered. (100.0%)

1410 of 1479 relevant lines covered (95.33%)

129.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2313.1 27 Sep 2017 09:12AM UTC 0
93.33
Travis Job 2313.1
2 2313.2 27 Sep 2017 09:12AM UTC 0
93.33
Travis Job 2313.2
Source Files on build 2313
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2313
  • c81697d2 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc