From the CHANGELOG I read that support for a custom documentLoader was removed since 6.0.0 from the package. Are there any plans to support this functionality in the future? The jsonld package is the only package I know that handles JSON-LD frames well in Javascript. However, I'm dependent on remote context and frame documents for my project.
My current solution is quite hacky. When processing a JSON-LD frame:
remove the @context property
insert my own crafted cached version
apply the frame to a JSON-LD document
overwrite the @context property of the JSON with the original version of the frame
Or, is there currently a better way to solve this?
From the CHANGELOG I read that support for a custom documentLoader was removed since 6.0.0 from the package. Are there any plans to support this functionality in the future? The
jsonld
package is the only package I know that handles JSON-LD frames well in Javascript. However, I'm dependent on remote context and frame documents for my project.My current solution is quite hacky. When processing a JSON-LD frame:
@context
property@context
property of the JSON with the original version of the frameOr, is there currently a better way to solve this?