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

B4nan / mikro-orm / 473
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
Jobs 5
Files 82
Run time 3min
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
473

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

3969.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 473.1 11 Jun 2019 09:32PM UTC 0
100.0
Travis Job 473.1
2 473.2 11 Jun 2019 09:33PM UTC 0
100.0
Travis Job 473.2
3 473.3 11 Jun 2019 09:32PM UTC 0
100.0
Travis Job 473.3
4 473.4 11 Jun 2019 09:35PM UTC 0
100.0
Travis Job 473.4
5 473.5 11 Jun 2019 09:34PM UTC 0
100.0
Travis Job 473.5
Source Files on build 473
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #473
  • 3793c43b on github
  • Next Build on assign-fix (#475)
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