Commit Graph

21 Commits (master)

Author SHA1 Message Date
Igor Savin 1b5523978a tests: un-skip passing test 2018-02-07 10:59:42 +02:00
Igor Savin a8a4ddc2fc test: skip test and remove incorrect check 2018-02-02 23:32:31 +02:00
Igor Savin cb85eea789 Failing test for integer coercion
refs #693
2018-02-02 23:27:06 +02:00
Evgeny Poberezkin ce62f117ee feat: use only $id by default, closes #641 2017-12-02 12:32:45 +00:00
Evgeny Poberezkin 2e95b0531f feat: "contains" and "uniqueItems" should be validated after type coercion, closes #611 2017-10-29 18:56:28 +00:00
Evgeny Poberezkin 4ed756ecac fix: duplicate "type" error is reported with coerceTypes option, fixes #469 2017-04-28 19:34:42 +01:00
Evgeny Poberezkin 92bfedab8d test: skipped test for error reporting with coerceTypes option, #469 2017-04-28 13:54:19 +01:00
Evgeny Poberezkin 62eaf92c4c
test: more test cases for coersion of array to scalar, #158 2016-07-28 22:23:18 +01:00
Evgeny Poberezkin b853218249
style: eslint tests, closes #250 2016-07-28 00:50:30 +01:00
Evgeny Poberezkin 0630539aa3
test: coerceTypes: "array" coercion should fail if array length != 1, #158 2016-07-27 22:17:06 +01:00
will Farrell a21cf02f43 update `==`, `object <-> array` 2016-07-26 14:43:20 -06:00
will Farrell ec09c3c735 allow reversal and add more tests 2016-07-24 19:03:27 -06:00
will Farrell 9e18e68ce7 Add in ability to coerce to an array 2016-07-22 18:07:10 -06:00
Evgeny Poberezkin 6a14e347c4 use new with Ajv constructor in tests and examples 2016-06-04 21:16:11 +01:00
Evgeny Poberezkin 44dd6b78b9 Android 4 compatibility, #143 2016-04-18 21:15:38 +01:00
Evgeny Poberezkin 19f94a1cd3 aditional coercion test (#152) 2016-03-25 20:45:53 +00:00
Evgeny Poberezkin e6a22be556 fix type coercion for multiple items/properties; closes #152 2016-03-25 20:13:39 +00:00
Evgeny Poberezkin 14d0eb0645 fix inlineRefs option, fix test, fix $ref to pass parentData[Property] to the referenced schema if it was passed to validate function 2016-02-15 22:04:04 +00:00
Evgeny Poberezkin 0c60364a7f coerce type when schema is in ref that is not inlined, #95 2016-01-17 14:08:50 +00:00
Evgeny Poberezkin 878f3559f6 do not try to coerce to object/array, #95 2016-01-17 13:12:28 +00:00
Evgeny Poberezkin b5b6a06f09 coerceTypes option, #95 2016-01-17 01:05:06 +00:00