Skip to content
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

Are there any plans to add again the custom documentLoader? #530

Open
phochste opened this issue Aug 30, 2023 · 0 comments
Open

Are there any plans to add again the custom documentLoader? #530

phochste opened this issue Aug 30, 2023 · 0 comments

Comments

@phochste
Copy link

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?

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

No branches or pull requests

1 participant