Swirrl / datahost-prototypes

Eclipse Public License 1.0
0 stars 0 forks source link

Use @base to shorten @id slugs #384

Closed kjoshi closed 7 months ago

kjoshi commented 7 months ago

This PR addresses issue #349, and updates the json-ld/context function added in #380 to allow extending the @base of the JSON-LD context. (This PR needs to either be merged into #380 before that branch is merged into dluhc-integration, or rebased onto dluhc-integration once #380 has been merged.

Note: this PR will break the prototype UI because some of the @ids of the resources will have changed, now that the @base in the context has been updated. I can start having a look at where the UI needs to be updated, but @xdrcft8000 you probably know that code much better than me, if you've also got time to have a look?

xdrcft8000 commented 7 months ago

Will take a look!