-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a 'Pass Through URI' Data Converter to JSON-LD: Issue-1581 #45
Conversation
I just realized that using the converter with a term that doesn't have the value doesn't fall back to the original serialization as I thought it would. But here is my WIP if folks want to look at it now. |
Came back for a few minutes this evening to finish the PR off. It now supports the case where a Converter passes along a fieldable entity (either a new target or the original one, it doesn't care). I believe you were interested in this one, @elizoller. Let me know what you think. |
This worked well for me. Tested on the resource type and the subject fields in the repository item content type in an islandora-playbook instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for my test, it does require some RDF changes to enable it. Seeing as how it allows non-matching targets to fall through it might be nice if it was just used by default. We'd need to add a configuration field in the UI to set the link_field
argument.
Just a thought, I'm good with this as is and that as a possible later piece of work.
I know there is no 24 hour 🕐 in Islandora 8, but its Friday. So I'll give the other @Islandora/8-x-committers the day to have a look at this, if there is no issues/concerns raised I'll merge it. |
Can haz squash and merge, @elizoller or @whikloj? |
GitHub Issue: Islandora/documentation#1581
What does this Pull Request do?
Adds a converter for RDF maps to take the targets of an entity reference field and replace their URI with the value of a Link or Authority Link fields (e.g. the Islandora taxonomy vocabularies or Genre taxonomy vocabulary).
What's new?
(i.e. Regeneration activity, etc.)? No.
How should this be tested?
Interested parties
@Islandora/8-x-committers