Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Access the raw model in can.Model.create()

$
0
0
I have a reference to another model in my newly created model. It seems to me that serialization fails to work in this situation, it replaces this reference with an empty object.

Is it possible to access the raw model from create() to do the custom serialization? Or referencing an another model is not a good idea?

Thank you for your help in advance!

Viewing all articles
Browse latest Browse all 3491

Trending Articles