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

loresoft / Injectio / 25031420290
91%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 02:58AM UTC
Jobs 1
Files 12
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

28 Apr 2026 02:57AM UTC coverage: 89.254% (+2.7%) from 86.511%
25031420290

push

github

web-flow
Add decorator registration support with compile-time validation (#303)

* Add decorator pattern support to source generator

Adds RegisterDecoratorAttribute (non-generic and generic variants) for
wrapping existing service registrations with decorator classes. The
generator emits a self-contained runtime helper (Injectio.Decoration.g.cs)
so no new package dependencies are introduced.

- Supports chaining via Order (lower = innermost)
- Supports keyed decoration, AnyKey, open-generic (closed instances),
  factory-built decorators, and tag filtering
- Adds diagnostics INJ0010-INJ0016 for decorator validation
- Runtime helpers use ActivatorUtilities for DI-friendly construction

https://claude.ai/code/session_01DFMTsCCwsWoYM7vWumE6mw

* Refactor generators: models, pipeline & infra

* progress

* bug fixes

* Update Extensions.cs

* Delete Injectio.Attributes.csproj

* Delete REFACTOR_PLAN.md

---------

Co-authored-by: Claude <noreply@anthropic.com>

711 of 872 branches covered (81.54%)

Branch coverage included in aggregate %.

675 of 721 new or added lines in 8 files covered. (93.62%)

3 existing lines in 2 files now uncovered.

1407 of 1501 relevant lines covered (93.74%)

75.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
86.98
1.91% src/Injectio.Generators/ServiceRegistrationAnalyzer.cs
14
88.8
2.3% src/Injectio.Generators/ServiceRegistrationGenerator.cs
5
90.87
0.87% src/Injectio.Generators/ServiceRegistrationWriter.cs
1
0.0
src/Injectio.Generators/Infrastructure/CollectionBuilderAttribute.cs

Coverage Regressions

Lines Coverage ∆ File
2
88.32
0.72% src/Injectio.Generators/SymbolHelpers.cs
1
88.8
2.3% src/Injectio.Generators/ServiceRegistrationGenerator.cs
Jobs
ID Job ID Ran Files Coverage
1 25031420290.1 28 Apr 2026 02:58AM UTC 12
89.25
GitHub Action Run
Source Files on build 25031420290
  • Tree
  • List 12
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25031420290
  • 9cf52f8e on github
  • Prev Build on main (#24798508363)
  • Next Build on main (#25053505849)
  • Delete
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