-
Notifications
You must be signed in to change notification settings - Fork 75
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
{ parse: true } not passed to children #106
Comments
Hey @jackboberg! Yeah, that doesn't look correct, good spot. It's sort of related to this #92 too. The reason this is happening is: when we initialize a parent model we:
Since I'm not totally sure of the best solution to this immediately, but we definitely need to fix it, as it will be affecting normal server returned results too. |
Thanks for the feedback. Can you give any insight as to why |
@jackboberg it's legacy from backbone. They had some discussion about adding that behaviour but it never got merged: https://github.com/jashkenas/backbone/pull/2636/files. On potential challenge I can see of adding it, is that the required parsing is arguably bound to the server representation of the data: i.e. a custom parse perhaps doesn't make sense in general - it's specifically to deal with data specifically formatted in some way by the server. Though, that argument isn't quite relevant to what we need here. |
That makes sense, and I agree this is a bit of a tangent. But, I feel like since it defaults to In my uses running |
Hey ! |
I just rebased (my PR was a bit out of date). The tests still pass, not sure why you would get that error. |
I am not sure if this is expected behavior.
The text was updated successfully, but these errors were encountered: