Closed samuelsimoes closed 8 years ago
As we spoke on Skype, we need a third argument as options to not pollute or mutate the data, i.e.:
var people = new Fluxo.CollectionStore(null, null, { store: Person });
people.addStore({ name: "Samuel" });
people.stores[0] // => a Person class instance.
👌 totally agree.
Sometimes we just want a dumb collection that parses it's children stores with some object store class without the need of declare this dumb collection class just to declare the children store class, like:
Would be nice if Fluxo could understand something like this: