brikteknologier / seraph-model

thin model layer for seraph/neo4j (node.js)
MIT License
111 stars 28 forks source link

false as value for required boolean field fails object validation #76

Closed neemah closed 10 years ago

neemah commented 10 years ago

MyModel.schema = {done: {type: Boolean, required: true}}

MyModel.save({done: false}) - // Schema validation failed when parsing