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

stockpile-co / api / 727 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2017 02:28PM UTC
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

14 Nov 2017 02:25PM UTC coverage: 97.294% (+0.09%) from 97.205%
CXX=g++-4.8

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

Source Files on job 727.1 (CXX=g++-4.8)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 727
  • Travis Job 727.1
  • 8132fe7e on github
  • Prev Job for CXX=g++-4.8 on master (#724.1)
  • Next Job for CXX=g++-4.8 on master (#734.1)
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