Added another map/object fix

This commit is contained in:
Fosco Marotto
2016-01-30 16:22:35 -08:00
parent a58c0dcd01
commit 44ee117327

View File

@@ -138,6 +138,7 @@ Schema.prototype.validateField = function(className, key, type, freeze) {
var expected = this.data[className][key];
if (expected) {
expected = (expected === 'map' ? 'object' : expected);
if (expected === type) {
return Promise.resolve(this);
} else {