Commit Graph

31 Commits (master)

Author SHA1 Message Date
Evgeny Poberezkin ce62f117ee feat: use only $id by default, closes #641 2017-12-02 12:32:45 +00:00
Evgeny Poberezkin b8d36fc0b0 fix: recursive ref to async sub-schema, closes #612 2017-12-02 10:24:27 +00:00
Evgeny Poberezkin 04d62ae67e Merge branch 'master' into beta 2017-11-24 21:18:06 +00:00
Evgeny Poberezkin c9548d2c74 refactor: remove compilation of async schemas to generator functions, closes #585 2017-11-05 21:14:31 +00:00
Evgeny Poberezkin 32b01a83d2 test: failing test for #612 2017-10-30 21:03:47 +00:00
Evgeny Poberezkin 6f2cea2244 refactor: support for transpile option moved to ajv-async package, #383 2016-12-26 20:57:14 +00:00
Evgeny Poberezkin 850b50523c feat: async validation promise resolves with data in case of success, closes #377 2016-12-25 20:24:36 +00:00
Evgeny Poberezkin c86e1bbc02 feat: make option unknownFormats default to true, closes #324 2016-10-16 18:59:40 +01:00
Evgeny Poberezkin da24fd33e1 test: refactor schema tests, use nyc 2016-10-04 21:16:18 +01:00
Evgeny Poberezkin 39b4a8f637 feat: option "extendRefs" to fail compilation or to ignore other keywords when "$ref" is used, closes #260 2016-08-06 13:05:39 +01:00
Evgeny Poberezkin b853218249
style: eslint tests, closes #250 2016-07-28 00:50:30 +01:00
Evgeny Poberezkin 6a14e347c4 use new with Ajv constructor in tests and examples 2016-06-04 21:16:11 +01:00
Evgeny Poberezkin bb243695c6 removed browser test badge 2016-02-29 23:47:15 +00:00
Evgeny Poberezkin 53a6c70138 asynchronous custom keywords can define custom errors by returning the promise that rejects with Ajv.ValidationError, closes #118 2016-02-28 22:14:18 +00:00
Evgeny Poberezkin 38827f50d4 refactor async tests 2016-02-03 22:14:14 +00:00
Evgeny Poberezkin 2f6213111d validate method for asynchronous schema always returns promise 2016-02-02 23:42:07 +00:00
Evgeny Poberezkin cc32c46a25 update json-stable-stringify; closes #67 2016-02-02 21:39:45 +00:00
Evgeny Poberezkin 644a73b8f7 enable tests for nodent 2016-02-01 17:56:47 +00:00
Evgeny Poberezkin 0ecd3eaa13 change async/transpile options 2016-01-31 22:07:19 +00:00
Evgeny Poberezkin 86d97d4337 async options, expose Ajv.ValidationError class 2016-01-30 22:13:00 +00:00
Evgeny Poberezkin c19c02aa04 nodent usage 2016-01-29 23:29:45 +00:00
Evgeny Poberezkin 2fe6715e3c readme: async and transpile options 2016-01-29 18:01:03 +00:00
Evgeny Poberezkin dba7096f2b additional check for compatibility with nodent 2016-01-29 15:11:13 +00:00
Evgeny Poberezkin a951e66e51 readme: asynchronous validation; no co in the test with es7 async functions 2016-01-29 12:45:59 +00:00
Evgeny Poberezkin 6e583554a1 async with nodent transpiler 2016-01-29 09:26:11 +00:00
Evgeny Poberezkin 7365dd6e41 transpiling async validation functions from es7 with nodent 2016-01-28 12:31:20 +00:00
Evgeny Poberezkin 98c9c195aa references to async schemas 2016-01-27 23:43:28 +00:00
Evgeny Poberezkin 002c99311f use regenerator to transpile asynchronous validation functions if generators are not supported, #40 2016-01-26 23:56:38 +00:00
Evgeny Poberezkin 873426b6a7 async custom keywords, #40 2016-01-25 23:57:16 +00:00
Evgeny Poberezkin d5808a3ee4 async format when format is $data, #40 2016-01-25 22:05:15 +00:00
Evgeny Poberezkin 0729d6d19d async schemas and async formats using generators, #40 2016-01-25 06:37:36 +00:00