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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/docs/nokogiri-1.10.4
DEFAULT BRANCH: master
Ran 11 Jun 2019 10:15PM 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
476

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

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 476.1 11 Jun 2019 10:15PM UTC 0
100.0
Travis Job 476.1
2 476.2 11 Jun 2019 10:15PM UTC 0
100.0
Travis Job 476.2
3 476.3 11 Jun 2019 10:15PM UTC 0
100.0
Travis Job 476.3
4 476.4 11 Jun 2019 10:17PM UTC 0
100.0
Travis Job 476.4
5 476.5 11 Jun 2019 10:17PM UTC 0
100.0
Travis Job 476.5
Source Files on build 476
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #476
  • Pull Request #62
  • PR Base - master (#472)
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