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

B4nan / mikro-orm / 477 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2019 10:21PM UTC
Files 82
Run time 5s
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 10:18PM UTC coverage: 100.0%. Remained the same
477.2

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

2733 of 2733 relevant lines covered (100.0%)

794.02 hits per line

Source Files on job 477.2
  • Tree
  • List 0
  • Changed 25
  • Source Changed 3
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 568
  • Travis Job 477.2
  • 05e6ce56 on github
  • Prev Job for on master (#472.1)
  • Next Job for on master (#479.2)
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