Child pages
  • Specification (.spec file)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

twoWay valuedescription
 not setno data synchronisation from client to server for this property
deepwatch model changes based on object equality (compares old and new values of structured/nested objects, less performant)
shallowwatch model changes based on object reference/primitive value (more performant, but in case of structured/nested objects it will only trigger data synchronisation on objects that when the objects are different by reference, even if they are actually 'equal' by content and different by reference)

 

For example:

Code Block
languagejs
titletwoWay example
"model": {
   "searchfield" : { "type": "string", "twoWay": "shallow" }
   }
} 

...