Child collection mapping not firing
问题 I have used the search engine, and found alot of answers, but I am stuck on a problem. The problem is that the child collection mapping seems to not fire. In the below code the alert "Groups created", but the "Root created"-alert is shown. var mapping = { 'Groups': { create: function (options) { var lang = ko.observable(ko.mapping.fromJS(options.data)); alert('Groups created'); return lang; } }, create: function (options) { var innerModel = ko.mapping.fromJS(options.data); alert('Root created