eclipse-sirius / sirius-emf-json

JSON-based EMF Resource implementation - part of Eclipse Sirius
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
5 stars 10 forks source link

Enhance reference deserialization #9

Closed lfasani closed 2 years ago

lfasani commented 2 years ago

JsonResource.OPTION_DISPLAY_DYNAMIC_INSTANCES option allows the serialization of the concrete type of the referenced object. This option is mandatory if the referenced object is in a resource other than the referencing object.

The serialization works correctly but the deserialization does not use this information to create a suitable proxy that will be able to be resolved later.