emfjson / emfjson-jackson

JSON Binding for Eclipse Modeling Framework
https://emfjson.github.io
Other
80 stars 23 forks source link

Load eContainer for proxy child #86

Open Dufgui opened 8 years ago

Dufgui commented 8 years ago

Hello, finaly i can text the new version 0.15.0 and the RC1. I fix the proxy resolution in my model. It's fix the type of the ref proxy. But i still have a problem when i load a child directly and try to resolved his parent. In Xml, i have : `<?xml version="1.0" encoding="UTF-8"?>

` and in Json: ` { "eClass" : "http:///MyNs.ecore#//MPhysicalResource", "schemaRefId" : "bobobambim3", "name" : "childGeneric3", "id" : "0--132", "versionMajor" : 0, "versionMinor" : 0, "versionLocal" : 0, "childMyNsResource" : [ { "eClass" : "http:///MyNs.ecore#//MPhysicalResource", "$ref" : "archive:file://C:\\Users\\gdufour\\AppData\\Local\\Temp\\.MyNsserver_test\\database\\data\\resource_data\\roots\\documents\\0\\33\\1\\0--133_1.MyNs!/root.MyNs#/" } ] } ` So when i try to load my eContainer of the child, it's doesn't work. I see your last commit wich works by feature. You think i have something still wrong in the model with the opposite parent wich is not saved ?
ghillairet commented 8 years ago

I will look at it.