Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Side by side usage with Backbone.relational #374

Open
MichaReiser opened this issue Jun 8, 2014 · 0 comments
Open

Side by side usage with Backbone.relational #374

MichaReiser opened this issue Jun 8, 2014 · 0 comments
Labels
Milestone

Comments

@MichaReiser
Copy link
Contributor

Using Thorax together with Backbone-relational requires some workarounds to get it running.
The problem is, that Backbone-relational expects you to extend from Backbone.RelationalModel instead of Backbone.Model. But if you extend from Backbone.RelationalModel, then the functionalities from Thorax are missing.

Because Thorax is more a framework then Backbone.RelationalModel, I would expect that Backbone.RelationalModel is extented by the model of Thorax. Right now this works fine, because Thorax.Model doesn't override any methods from Backbone.Model. But in the future this might be an issue, becauase Thorax.Model would then call Backbone.Model (super) instead of Backbone.RelationalModel.

It would be nice, if the thorax model extensions could be wired into another model, where super can be provided. This would ensure that future Thorax versions works fine with Backbone-relational.

@kpdecker kpdecker added this to the 3.1 milestone Sep 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants