The notifyRelationships configuration can be applied to any managed object field. Its value is an array of relationship fields which should be signaled when the managed object field in question is changed. Any time a managed object is updated, or a signal received, this configuration is consulted to determine whether the signal should be sent/propagated. The configuration includes a JsonPointer of the field in question, and the List of roles to be signaled.
Now consider a patch on the manager field:
oldValue In MOS.propagateVertexStateChange
newValue in MOS.propagateStateChange
(note that the managerManager field is a new virtual property used to test the relationship-derived virtual property mechanism)
VertexStatePropagator#propagateVertexStateChange is invoked with each of the path fields from the resulting JsonPatch.diff(oldValue, newValue)
The results of JsonPatch.diff:
The propagation config in the manager field for my example is
But we never notify reports because manager/_ref or manager/_ref* is changed - not the bare relationship field.
This change should examine all parents of the path elements of the JsonPatch.diff elements, and then remove all duplicates so that relationship fields are not signaled redundantly.