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

strongloop / loopback-next / 15857
76%

Build:
DEFAULT BRANCH: master
Ran 21 Feb 2020 04:32PM UTC
Jobs 1
Files 452
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

pending completion
15857

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

Jobs
ID Job ID Ran Files Coverage
1 15857.1 (TASK=test) 21 Feb 2020 04:32PM UTC 0
92.56
Travis Job 15857.1
Source Files on build 15857
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #15857
  • ed949e41 on github
  • Prev Build on master (#15844)
  • Next Build on master (#15860)
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