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

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

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

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

18 of 18 new or added lines in 3 files covered. (100.0%)

2733 of 2733 relevant lines covered (100.0%)

3969.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 474.1 11 Jun 2019 09:35PM UTC 0
100.0
Travis Job 474.1
2 474.2 11 Jun 2019 09:38PM UTC 0
100.0
Travis Job 474.2
3 474.3 11 Jun 2019 09:38PM UTC 0
100.0
Travis Job 474.3
4 474.4 11 Jun 2019 09:38PM UTC 0
100.0
Travis Job 474.4
5 474.5 11 Jun 2019 09:41PM UTC 0
100.0
Travis Job 474.5
Source Files on build 474
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #474
  • 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