ghillairet/emfjson — Issue #7: Consider using the eClass URI for the "type"
Author: BryanHunt
Created: 2011-12-01 06:28:48+00:00
State: open

When I started working on supporting POST to create a new EMF object from JSON, it occurred to me that you must be using the "type" field to determine the EMF eClass. When I do a GET, the "type" comes back as the eClass name which is arguably non-deterministic when locating the eClass to use when creating a new instance. I would recommend considering the use of the eClass URI as the value for the "type" field. This is what we are doing in MongoEMF and it seems to work quite well.