dfenerski / ui5-sample-ecd

Example app demonstrating usage of the Extended Change Detection (ECD) mechanism in UI5
Apache License 2.0
1 stars 1 forks source link

Factories are always keyless #5

Open dfenerski opened 3 months ago

dfenerski commented 3 months ago

image

wridgeu commented 3 months ago

+re: bDetectUpdates

https://github.com/SAP/openui5/blob/57634bfdfb187b8c473ace3116b59a2d1f121413/src/sap.ui.core/src/sap/ui/model/ManagedObjectBindingSupport.js#L823

If a binding uses a factory function, not a template, then this function is opaque for the framework. It's not clear whether property updates in the bound data might result in a different return value of the factory function.