sprotty-server icon indicating copy to clipboard operation
sprotty-server copied to clipboard

Make registering actions easier

Open tomvdbussche opened this issue 6 years ago • 0 comments

There should be an easier way to register custom actions with GSON. Right now this happens in a static method within ActionTypeAdapter so the only possibility I have is to copy that method and customize it. Moving this initialization to for example DiagramServerEndpoint could make registering new actions easier by providing an overridable method.

tomvdbussche avatar Jan 17 '20 16:01 tomvdbussche