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

exegesis-js / exegesis / 454 / 4
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2019 03:37PM UTC
Files 47
Run time 4s
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

26 Apr 2019 03:33PM UTC coverage: 84.04% (-0.1%) from 84.157%
454.4

push

travis-ci

jwalton
fix(validation): When validation requests, only do type coercion on requests without implicit type

When validation a parameter in a URL, we need to do type coercion to make sure it matches the
schema, since `?foo=9` could represent the string "9" or the number 9.  We were doing type coercion
on all requests, but in a JSON request the type is explicitly specified by the JSON (e.g. `{"foo":
9}` vs. `{"foo": "9"}`).  In cases where a schem allowed either a string or a number, AJV would
sometimes do type coercion where none was neccesary.  This fixes it so that we only do type coercion
on requests with a media type of "application/x-www-form-urlencoded" or "multipart/form-data".
Since types are no longer converted in JSON requests, it's possible some clients
have been sending bad requests all this time and will now start failing.

fix #73

343 of 409 branches covered (83.86%)

Branch coverage included in aggregate %.

847 of 1007 relevant lines covered (84.11%)

88.62 hits per line

Source Files on job 454.4
  • Tree
  • List 0
  • Changed 19
  • Source Changed 3
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 418
  • Travis Job 454.4
  • 2d902b34 on github
  • Prev Job for on master (#451.1)
  • Next Job for on master (#467.2)
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