jaydata
jaydata copied to clipboard
knockout asKoObservable ignores complex type properties and array properties.
If I have an entity with a simple complex type property, changes to the complex type's properties are not registered as changes to the entity. The same goes for a property array of complex types (which is an odata v3 feature). Simple complex type property change detection should work because this is not odata v3.
I am on it, and the fix is almost done. Are you initiate saving with the default kendo datasource.sync way (that actually called by the user controls)?
Kendo? I think you replied to the wrong issue, Peter :)
It would be very cool if array properties was ko.observableArray!
I have also noted that the asKoObservable only maps one level down from the root object. i.e. objroot.cmplxobj is fine and objroot.cmplxobj.anothercmplx, anothercmplx is not observable or anything else further down the object graph.
Thanks for all of your hard work!
I just posted a question about deep observables on the JayData forum and have just found this issue where jpirok is asking about the same thing. I feel this is a really useful feature! Hoping that it happens soon. :)