Replies: 1 comment
-
Long-term, passing sessions makes more sense for optimization opportunities I think. For example, the engine could cache private documents based on sessions (which is not as easy with custom fetch functions). Does that make sense? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In most Solid-based libraries we generally pass around the
fetch
function rather than theSession
(e.g. solid-client).It is also possible to do this with the
KeysHttp.fetch
key in the default Comunica build. That is, the following works:Is there any reason to have a custom build for Solid given this is the case, if not it might be worth updating the docs to encourage users to migrate to the above usage.
Beta Was this translation helpful? Give feedback.
All reactions