kiva / backbone.siren

Converts Siren JSON representations into Backbone Models
MIT License
14 stars 3 forks source link

Override backbone .fetch() with current .resolve() implementation #47

Open gxxcastillo opened 10 years ago

gxxcastillo commented 10 years ago

I think I was initially a bit uneasy about the design and implementation of backbone.siren and so I didn't override the backbone.model/collection.prototype.fetch() method, instead opting to create a .resolve() method to wrap it.

This leads to problems when integrating with 3rd party libraries that use .fetch, thus bypassing .resolve().

Essentially, this ticket is to rename .resolve() to .fetch()