-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/new fluree vocabulary #27
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
Conversation
It uses the "https://flur.ee" string as the key as that's the shortest possible one, but we can change that in the future if we need to - the IRIs all expand to "https://flur.ee/ns/<term>" regardless.
bef0bf6
to
806408c
Compare
7a1bcd0
to
2be5f54
Compare
2198a13
to
2b4a4cf
Compare
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.
Question about the meaning of a new docstring, but looks good o/w!
@@ -3,54 +3,76 @@ | |||
(:require ["jsonld" :as jldjs] | |||
[fluree.json-ld.impl.external :as external])) | |||
|
|||
(defn pluggable-loader | |||
"Takes a document-loader, which takes a url and options and returns a json string |
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.
Is this missing a conclusion or a comma? In other words, does "and returns a json string..." apply to the document-loader (in which case this is missing a conclusion about what the fn itself returns / does) or to the fn itself (in which case this is missing a comma between "and options" and "and returns" (or you could wrap "which takes a url and options" in parens).
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.
I see how that's confusing! I tried rewriting it a few times and then decided to just document the argument explicitly, I think it's an improvement.
This adds support for a new fluree vocabulary for https://github.com/fluree/core/issues/27
This builds off of the language tags branch as that has updated structure for #25.