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

B4nan / mikro-orm / 473 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Ran 11 Jun 2019 09:32PM UTC
Files 82
Run time 9s
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

11 Jun 2019 09:29PM UTC coverage: 100.0%. First build
473.1

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.

1478 of 1478 branches covered (100.0%)

Branch coverage included in aggregate %.

2733 of 2733 relevant lines covered (100.0%)

793.97 hits per line

Source Files on job 473.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 564
  • Travis Job 473.1
  • 3793c43b on github
  • Next Job for on assign-fix (#475.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