Everyplay / serverbone

Backbone node.js additions to serve backbone collections/models over express
MIT License
5 stars 5 forks source link

IndexMixin inheritance issue #24

Open kosmikko opened 9 years ago

kosmikko commented 9 years ago

When using e.g. ACLIndexMixin like this:

var MyIndexCollection = MyBaseCollection.extend(
  _.extend({}, ACLIndexMixin, {
  ...
  })
);

Functions defined in ACLIndexMixin will overwrite functions defined in MyBaseCollection. This behaviour might be unwanted, so there should be someway of retaining behaviour form MyBaseCollection.