CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs
Unsuccessful Import User Story
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 6
- Avg merge
- 1h 25m
- Merged PRs (30d)
- 3
Description
This anticipates the failure to negotiate `@id` and `id` in other software.
I think about it in the IIIF sense. I have a IIIF Presentation API 3 Manifest with `id: "https://not.from.rerum/id/12345"`. I want to put navPlace on it so I use the RERUM Geolocator to generate a new Manifest and it has `"@id":"https://store.rerum.io/v1/id/aeeaeae"`. I did that just to preview what would happen in my system if I gave it an object with navPlace. I go to "https://my.software/page.html?id=https://store.rerum.io/v1/id/aeeaeae" and get `Error: obj.id is undefined`.
Should the `_import()` functionality keep the `id` property if it was supplied with the origin object? That property is removed prior to being inserted in the DB to make sure resulting objects only contain `@id`. This is a Linked Data gray area.
Contributor guide
Assessment
This issue has not been assessed yet.