Ignacio Baixas

Results 40 comments of Ignacio Baixas

The problem is that factories are not called until they are injected into some other service, so the registry would not know about the model until it is injected somewhere....

Well, the idea is to avoid data duplication and prevent handling id's directly. Besides, it would be complex to keep the relation object and id property synchronised. I seems that...

I'll add this to the docs

You could override the function and decorate it to change it's behaviour without rewriting the whole thing. ``` js restmod.model().mix({ $extend: { Resource: { $fetch: function(_params) { return this.$decorate({ 'before-request':...

I'll give it a thought, the Pagination mixin definitely needs a little attention!

Some comments: - Making `totalCount` a variable of the mixin function closure scope will mean that every collection of the same type will share the same `totalCount`, maybe it should...

The `serialize` modifier does not provide a `param` option. I intended to add a way to pass options to the serializer **constructor** but never got to it.

Yep, there is a problem with scopes and SharedModel, thats the reason why `SharedModel` is not officially released (I commited the file by mistake a couple of months ago). I'm...

Thanks @jasonayre, didn't saw your post until now!