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

B4nan / mikro-orm / 474 / 5
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Ran 11 Jun 2019 09:41PM UTC
Files 82
Run time 7s
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%. Remained the same
474.5

Pull #62

travis-ci-com

web-flow
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.
Pull Request #62: feat(core): automatically fix wrongly assigned associations

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 474.5
  • 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 565
  • Travis Job 474.5
  • 22738037 on github
  • Prev Job for on assign-fix (#472.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