Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

No ID Attribute with UUIDs #111

Open
randomnamehmm opened this issue Aug 27, 2020 · 0 comments
Open

No ID Attribute with UUIDs #111

randomnamehmm opened this issue Aug 27, 2020 · 0 comments

Comments

@randomnamehmm
Copy link

Hello. I have the follow problem:

When I use the JsonUuidResource as shown in this code
ResourceSet resourceSet = new ResourceSetImpl(); resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap() .put("json", new JsonResourceFactory() { @Override public Resource createResource(URI uri) { return new JsonResource(uri, getMapper()) { @Override protected boolean useUUIDs() { return true; } }; } });

and save some EObjects to a JSON, they don't have an "id" attribute containing the UUID.
Yet they are referenced by other EObjects with "ref" : "MY_UUID".
Is this a bug or do I have to do something else in order to show ids?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant