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

stockpile-co / api / 727
97%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2017 02:28PM UTC
Jobs 1
Files 24
Run time 1s
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
727

push

travis-ci

web-flow
294/Add field type to custom fields (#397)

* Add custom field type

Custom field values are automatically cast to a string when being inserted into the database. Now, with the addition of `customField.fieldTypeID` and the table `fieldType`, custom field values are type cast back to the correct type before sending them to the user.

This implementation uses  the partial hack of overriding `res.send` before calling the endpoint service. A better way to implement it would be to pass the endpoint service a function that modifies results before sending them back to the user, but this is the only controller that has this use case, so it makes more sense to rely on the current implementation for now.

* Add tests for typecast get item custom field

191 of 215 branches covered (88.84%)

791 of 813 relevant lines covered (97.29%)

5.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 727.1 (CXX=g++-4.8) 14 Nov 2017 02:28PM UTC 0
97.29
Travis Job 727.1
Source Files on build 727
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #727
  • 8132fe7e on github
  • Prev Build on master (#724)
  • Next Build on master (#734)
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