Closed serby closed 8 years ago
Currently null Arrays and possibly Objects are striped out, however wrongly typed scalar types are not strip.
This function should look to cast object, it is only concerned with striping unknown properties.
https://github.com/serby/schemata/blob/master/schemata.js#L189
This is fixed in 25764c0f090db296a5f00f29fdfd5fec3421470d
Currently null Arrays and possibly Objects are striped out, however wrongly typed scalar types are not strip.
This function should look to cast object, it is only concerned with striping unknown properties.
https://github.com/serby/schemata/blob/master/schemata.js#L189