Thank you for this insight. I understand now what was happening there. The solution is to NOT use the 'options' if I want to work with object referneces.
Best regrads, Ralph On 22 Feb., 22:25, Christoph Pojer <[email protected]> wrote: > Hello, > > please don't use Options for this as options will be deep-copied. > > Just pass in instances via a separate object or array and don't call > setOptions on it. > > The reason for this is without copying an object (= instance of a class), > cross-referencing it in different places of your app and modifying it would > f'ck up your whole app. I think we should add a note in the docs for this. > Objects and Arrays passed as options always get deep copied :)
