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

B4nan / mikro-orm / 475
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Ran 11 Jun 2019 10:11PM UTC
Jobs 5
Files 82
Run time 2min
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
475

push

travis-ci-com

Martin Adamek
feat(core): automatically fix wrongly assigned associations

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 %.

2733 of 2733 relevant lines covered (100.0%)

3970.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 475.1 11 Jun 2019 10:11PM UTC 0
100.0
Travis Job 475.1
2 475.2 11 Jun 2019 10:11PM UTC 0
100.0
Travis Job 475.2
3 475.3 11 Jun 2019 10:11PM UTC 0
100.0
Travis Job 475.3
4 475.4 11 Jun 2019 10:13PM UTC 0
100.0
Travis Job 475.4
5 475.5 11 Jun 2019 10:13PM UTC 0
100.0
Travis Job 475.5
Source Files on build 475
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #475
  • 63db8487 on github
  • Prev Build on assign-fix (#473)
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