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

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

Build:
Build:
LAST BUILD BRANCH: pm2-deployment-docs
DEFAULT BRANCH: master
Ran 27 Sep 2017 08:22AM UTC
Jobs 2
Files 66
Run time 29s
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
2310

push

travis-ci

bajtos
fix(context): inject nested properties

Fix the implementation of `@inject` resolver to correctly support
nested properties.

Simplify the implementation of nested properties to avoid edge cases
that are difficult to support:

 - All Context methods creating/returning full Binding instances require
   a key without property-path suffix.

 - Only `get` and `getSync`, which are (eventually) returning the bound
   value only, allow property-path suffix.

 - A new method `getValueOrPromise` is introduced, this is an internal
   method shared between `get`, `getSync` and
   `@inject` (`instantiateClass`). This method supports keys with
   property-path suffix too.

479 of 545 branches covered (87.89%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 3 files covered. (100.0%)

1414 of 1483 relevant lines covered (95.35%)

132.55 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
packages/context/src/binding.ts
Jobs
ID Job ID Ran Files Coverage
1 2310.1 27 Sep 2017 08:22AM UTC 0
93.34
Travis Job 2310.1
2 2310.2 27 Sep 2017 08:23AM UTC 0
93.34
Travis Job 2310.2
Source Files on build 2310
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2310
  • 567958ac on github
  • Prev Build on fix/inject-nested-property (#2307)
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