-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backbone 1.x support #72
Comments
Just started a branch for it, but the tests are failing, so honestly, I can't promise when I can support it. I started a rewrite using true nested Models instead of anonymous objects, but haven't been back to it in a while. The advantage there is that less behavior would be overridden/custom, which would theoretically provide better compatibility between versions. |
Stick in! |
Will work on this be continued? |
Any updates on this? also, I guess it should be backbone 1.0, rather than 0.9.9 nowdays 😸 |
@gkatsev True - updated the title to make this more clear. The "nested model" thing is more an implementation detail... there would be no difference to the plugin user. My big hesitation is that this plugin never really addressed associations, which may be a Good Thing™ to keep the scope contained, but is a bad because there's no clear path to making this handle associations well (even if it's a separate plugin). Feels like it's only providing a half-solution. |
yeah, what drew me to this specific plugin (over backbone-associations and backbone-relational) is that it was very simple. |
@gkatsev Totally fair. Not sure when I'd be able to get back to this, but PRs are welcome, using my other branches or not! |
Yeah, not sure whether I have the capacity to do this at the moment either. But hopefully I could take a look soon. |
Added disclaimer to README re: associations. See #91. |
Is backbone-nested usable with Backbone 1.0.0? Cannot find this info from docs or readme. |
@tuupola No, that's what this issue is for. |
backbone has upgraded to 1.1.0 😢 |
Updated the title to reflect this, at least 😕 |
I'll have some time to hack on this next week. I hope that models between backbone 1.0 and 1.1 are compatible. I've heard there are some problems between 1.0 and 1.1. |
If it's any consolation I took a look at the changelog for 1.1 and it doesn't look like there are many changes related to the model at all. The barrier to go from 1.0 to 1.1 should be pretty low for backbone-nested. |
Going to be working on this this week. Hopefully, it won't be too hard 👅 |
🤘 |
I've identified some reasons why the tests fail:
Also, I saw this thing in the changelog for v1.1.0 as well:
|
👍 |
Most of the main tests failed because the expectations of how models worked changed slightly. |
Got the |
👍 |
If you guys could test backbone-nested from that branch, that would be awesome. |
Fixed by #96. |
🚀 |
No description provided.
The text was updated successfully, but these errors were encountered: