Make sure ObjectID type is not parsed as object

This commit is contained in:
Raymond Feng 2014-05-08 15:46:14 -07:00
parent cf75f55f73
commit 8b128b566d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ var List = require('./list');
var Hookable = require('./hooks'); var Hookable = require('./hooks');
var validations = require('./validations.js'); var validations = require('./validations.js');
var BASE_TYPES = ['String', 'Boolean', 'Number', 'Date', 'Text']; var BASE_TYPES = ['String', 'Boolean', 'Number', 'Date', 'Text', 'ObjectID'];
/** /**
* Model class: base class for all persistent objects. * Model class: base class for all persistent objects.