In my application's implementation of the Model Server, I have a customization of the EMF <--> JSON transformation that results in JSON with a tree structure quite different to the EMF tree. Accordingly, I need to customize the both the transformation of incoming JSON patches for edit requests and outgoing diffs in the ModelUpdateResults from edits.
Currently, a few components of the Model Server construct a JsonPatchHelper for themselves to accomplish these tasks. I need to be able to inject my own patch helper to handle my custom EMF/JSON transformation.
This issue is of course only relevant in the context of API v2, which is pending in issue #150.
In my application's implementation of the Model Server, I have a customization of the EMF <--> JSON transformation that results in JSON with a tree structure quite different to the EMF tree. Accordingly, I need to customize the both the transformation of incoming JSON patches for edit requests and outgoing diffs in the
ModelUpdateResult
s from edits.Currently, a few components of the Model Server construct a
JsonPatchHelper
for themselves to accomplish these tasks. I need to be able to inject my own patch helper to handle my custom EMF/JSON transformation.This issue is of course only relevant in the context of API v2, which is pending in issue #150.