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

How do you manage nested can.Maps/can.Models

$
0
0
For example, lets say I have a post model, and a comment model, and my post model api returns comments as a sub-document array. In this scenario, how would I go about initializing my comment model instances when my post model findOne resolves?

Viewing all articles
Browse latest Browse all 3491

Trending Articles