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

strongloop / loopback-datasource-juggler / 5069
84%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix-deprecated-pkgs
DEFAULT BRANCH: master
Ran 04 Apr 2019 07:50AM UTC
Jobs 2
Files 36
Run time 23s
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
5069

Pull #1704

travis-ci

web-flow
Do not apply default values on data from database

Before this change, when a property was configured with a default value
at LoopBack side and the database was returned a record with a missing
value for such property, then we would supply use the configured
default.

This behavior is problematic for reasons explained in #1692.

In this commit, we are fixing DAO operations like `find` and
`findOrCreate` so that they do NOT apply default property values on
data returned by the database (connector).

Please note that most of the other CRUD methods were already not
applying default values on database data as long as the connector
provided native implementation of the operation.
Pull Request #1704: fix: do not apply default values on data from database

4423 of 5557 branches covered (79.59%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

7000 of 8033 relevant lines covered (87.14%)

1847.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5069.1 04 Apr 2019 07:50AM UTC 0
84.05
Travis Job 5069.1
2 5069.2 04 Apr 2019 07:51AM UTC 0
84.05
Travis Job 5069.2
Source Files on build 5069
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5069
  • Pull Request #1704
  • PR Base - master (#5056)
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