eclipse-emfcloud / emfcloud-modelserver

Modelserver component
Other
40 stars 21 forks source link

API V2: JsonPatchHelper doesn't properly handle 'add' operations for single-valued references #220

Closed CamilleLetavernier closed 2 years ago

CamilleLetavernier commented 2 years ago

When using an "add" Operation with a single-valued EMF Reference, we should use an EMF "SetCommand" instead of an "AddCommand", otherwise the resulting command will not be executable (EMF AddCommand only works with Lists)