entityAspectとentityType(カスタムデータソースkendoデータソースからのスニペット)の両方を無視する必要があることがわかりました:
this.entityManager.executeQuery(query)
.then(function (xhr) {
if (self.autoMapToJS) { // Breeze entities contain recursive properties (ugh!) - eliminate those
payload.data = ko.mapping.toJS(xhr.results, {
ignore: ['entityAspect', 'entityType']
});
} else {
payload.data = xhr.results;
}
if (self.inlineCount) {
payload.total = xhr.inlineCount;
}
options.success(payload); // notify the DataSource that the operation is complete
})
.fail(function (rejected) {
payload.error = rejected;
})
.done(); // terminate chain of promises
}
特に、グリッド(wijmoとkendo)で使用しようとすると、それらのコントロールがプロパティを反復処理するため、微風データをマップしたり、スタックオーバーフローを楽しんだりする必要がありました。