Roy Jacobs

Results 72 comments of Roy Jacobs

This call should not be needed. Can you make a reproduction scenario on jsfiddle that illustrates the problem?

Okay, please update this issue when you were able to repro and I'll take a look.

@drdamour Thanks for the analysis, I'll have to go and check what the original reasoning behind the asynchronous execution was. It's clearly not ideal (as you and others have found...

Welp, it appears that I made some incorrect assumptions when writing this code (as evidenced by test 2 you're mentioning above). I'm currently looking at my company's codebase and I'm...

There's an additional reason the timeout is there: If you create a nested model, your parent model may also call `ko.mapping.fromJS` to create the children. If any of the children...

All good ideas! For the synchronous unwinding I'll try to build a simple repro that illustrates my point. I saw in the current KO codebase there's some try/finally trickery going...

I did some more testing and it appears there had been some broken checkins that caused the bad behavior, and not your changes. So that's very good news, because it...

Sorry for not getting a test in order yet. Let's say you have a model with two child models `a` and `b`. If `a` has a computed that references a...

If `a` and `b` are created by the mapping plugin, through a nested `create`, you cannot determine the order. Also, sometimes the dependencies can be bidirectional.

Yeah, I'll need to do that to compensate for my poor explanation :)