documentcloud/backbone — Issue #715: Models data are validated when collection resets
Author: AleksP
Created: 2011-11-03 15:15:40+00:00
State: open

If you use validation it initiates a lot of validation requests during load data from server

// Prepare a model to be added to this collection
_prepareModel: function(model, options) {
if (!(model instanceof Backbone.Model)) {
var attrs = model;
model = new this.model(attrs, {collection: this});
if (model.validate && !model._performValidation(attrs, options)) model = false;
} else if (!model.collection) {
model.collection = this;
}
return model;
},

I think there should be: if (!options.silent && model.validate && !model._performValidation(attrs, options)) model = false;