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

B4nan / mikro-orm / 477
100%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2019 10:21PM UTC
Jobs 5
Files 82
Run time 3min
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
477

push

travis-ci-com

web-flow
feat(core): automatically fix wrongly assigned associations (#62)

When you use `Object.assign(entity, { ... })` instead of `entity.assign({ ... })` you could put your entity
into invalid state where there will be PK instead of entity reference. With this change all managed entities
will be validated before flushing and this case will be automatically handled, converting the PK to entity
when persisting it.

This is especially handy when you migrate existing project where you used `Object.assign(entity, { ... })`
to update entities (like in TypeORM) as this kind of error could be hard to find because they were failing
silently.

1476 of 1476 branches covered (100.0%)

Branch coverage included in aggregate %.

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

2733 of 2733 relevant lines covered (100.0%)

3970.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 477.1 11 Jun 2019 10:22PM UTC 0
100.0
Travis Job 477.1
2 477.2 11 Jun 2019 10:21PM UTC 0
100.0
Travis Job 477.2
3 477.3 11 Jun 2019 10:22PM UTC 0
100.0
Travis Job 477.3
4 477.4 11 Jun 2019 10:24PM UTC 0
100.0
Travis Job 477.4
5 477.5 11 Jun 2019 10:25PM UTC 0
100.0
Travis Job 477.5
Source Files on build 477
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #477
  • 05e6ce56 on github
  • Prev Build on master (#472)
  • Next Build on master (#479)
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