Comments (5)
So undefined shouldn't be coerced?
from perstore.
well, void 0 should probably, sure...but !key in object shouldn't be, if you know what i'm saying...
it forces all keys to exist (even the required ones) and creates false positives in schema validation
from perstore.
and shouldn't it be an opt-in? like, shouldn't you have to have a coerce: true member on your schema descriptor?
from perstore.
Does this fix it?
kriszyp/commonjs-utils@f9ed902
from perstore.
perfect...if you think it's better to coerce by default -- i guess it doesn't hurt in a postel kinda way, perhaps a "coerce" config setting would also be useful...just a thought, but this works for me
from perstore.
Related Issues (20)
- uri / url
- publish to npm
- add some comments HOT 1
- `testMethodPermissive` is failing
- assigning certain properties to constructor will fail
- perstore/store/filesystem.js - Bug of function get in AutoTransaction object parameter
- Error in serializing with JSONExt in persistant memory store. HOT 3
- perstore npm dependencies HOT 2
- directives not passed when using .add() in facet.js HOT 1
- Repository in package.json is incorrect HOT 1
- Running under Node.js with AMD fails HOT 1
- Passing path during creation does not call .setPath
- Persistent does not respect options.start, options.end
- Persistent does not set totalCount HOT 1
- Support Postgres node/store-engine/sql.js
- perstore/util/settings.js: cannot find local.json when deploying to Tomcat under RIngoJS HOT 1
- Invalid date in json-ext
- Links not resolved for model.query HOT 1
- Links not re-resolved after PUT
- add notifications using a broken value for the channel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perstore.