If the validator configured with `{async:true}` option and `if/unless` condition, validator should be skipped when the condition is un-fulfilled, so the validator should be pass. But currently, when skipping the validator, it calls `done(true)` which accepts a `fail` flag as a param, this will fail the entire validation. Signed-off-by: Clark Wang <clark.wangs@gmail.com> |
||
---|---|---|
docs | ||
examples | ||
lib | ||
support | ||
test | ||
.gitignore | ||
.gitmodules | ||
.jshintignore | ||
.npmignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
docs.json | ||
index.js | ||
package.json |
README.md
LoopBack DataSource Juggler
LoopBack DataSource Juggler is an ORM that provides a common set of interfaces for interacting with databases, REST APIs, and other data sources. It was initially forked from JugglingDB.
For full documentation, see the official StrongLoop documentation:
Installation
npm install loopback-datasource-juggler
Also install the appropriated connector, for example for mongodb:
npm install loopback-connector-mongodb
See StrongLoop Documentation for more information.