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

strongloop / loopback-next / 15857 / 1
76%
master: 76%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2020 04:32PM UTC
Files 452
Run time 56s
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

21 Feb 2020 04:22PM UTC coverage: 92.557% (+0.005%) from 92.552%
TASK=test

push

travis-ci-com

bajtos
feat(repository): remove generic parameters from `Inclusion` type

Ideally, `Inclusion` interface should use type information
from the source model to restrict the allowed values in the filter
for a target model. That is unfortunately rather difficult to achieve,
because an Entity does not provide type information about related models.
We could use {ModelName}WithRelations interface for first-level
inclusion, but that won't handle second-level (and deeper) inclusions.
To keep things simple, `Inclusion` allows any filters and thus does not
require any generic parameter.

BREAKING CHANGE: The type `Inclusion` is no longer generic. Please
update your code and remove any generic arguments provided for the type.

```diff
- Inclusion<MyModel>
+ Inclusion
```

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>

4335 of 5013 branches covered (86.48%)

Branch coverage included in aggregate %.

11221 of 11794 relevant lines covered (95.14%)

948.32 hits per line

Source Files on job 15857.1 (TASK=test)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 12561
  • Travis Job 15857.1
  • ed949e41 on github
  • Prev Job for TASK=test on master (#15844.1)
  • Next Job for TASK=test on master (#15860.1)
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