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

fix: extra fetch to get storage description #38

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

NuttyShrimp
Copy link
Collaborator

closes #3

@NuttyShrimp NuttyShrimp requested a review from elsdvlee November 22, 2024 13:23
@NuttyShrimp NuttyShrimp changed the base branch from root to development November 22, 2024 13:23
Copy link
Collaborator

@woutslabbinck woutslabbinck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well now for Solid Pods that do not have a pim:storage by default (such as the CSS).

All though, now fetching storages from pods that are not CSS crash now, because of the non existent link header.

Could you change the function listPodUrls or fetchStorageTriple such that these still work?

Personally, I think it makes most sense to update fetchStorageTriple by returning undefined if the link header does not exist. But, it is up to you.

solid-common-lib/src/index.ts Outdated Show resolved Hide resolved
solid-common-lib/src/index.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@woutslabbinck woutslabbinck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It indeed works as intended now.

@woutslabbinck woutslabbinck merged commit 7b38250 into development Dec 2, 2024
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

Successfully merging this pull request may close these issues.

LOAMA does not work when no storage triple present in webID
2 participants