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

IgorBabkin / ts-ioc-container / 24984514781
97%
master: 94%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 27 Apr 2026 08:27AM UTC
Jobs 1
Files 54
Run time 1min
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

27 Apr 2026 08:26AM UTC coverage: 96.45% (+2.3%) from 94.16%
24984514781

push

github

IgorBabkin
feat(injector)!: require explicit @inject for every constructor param

Constructor parameters without @inject metadata now resolve to `undefined`
instead of being implicitly filled from positional `args`. Annotate every
parameter that should come from the container or runtime args list
(`@inject(args(0))`, `@inject('key')`, etc.).

Removes `resolveByArgs` — the inject-time resolver already auto-resolves
`InjectionToken` values passed via `token.args(...)` / `setArgs(...)`,
so the helper is redundant. Bare constructors are not auto-resolved;
consumers must wrap them in `ClassToken` to opt into resolution.

Also drops the now-unused `fillEmptyIndexes` array helper.

BREAKING CHANGE: constructor parameters without `@inject` no longer pick up
positional arguments — they resolve to `undefined`. `resolveByArgs` is removed
from the public API.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

232 of 243 branches covered (95.47%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

556 of 574 relevant lines covered (96.86%)

107.4 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180869592 24984514781.1 27 Apr 2026 08:27AM UTC 54
96.45
GitHub Action Run
Source Files on build 24984514781
  • Tree
  • List 54
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24984514781
  • 0a451570 on github
  • Prev Build on main (#24967893512)
  • Next Build on main (#24985116368)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc