Make sure ObjectID type is not parsed as object
This commit is contained in:
parent
cf75f55f73
commit
8b128b566d
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue