Skip to content

Conversation

@VirginiaBalseiro
Copy link
Contributor

Add getWebIdDataset function

Checklist

  • All acceptance criteria are met.
  • Relevant documentation, if any, has been written/updated.
  • The changelog has been updated, if applicable.
  • New functions/types have been exported in index.ts, if applicable.
  • New modules (i.e. new .ts files) are listed in the exports field in package.json, if applicable.
  • New modules (i.e. new .ts files) are listed in the typedocOptions.entryPoints field in tsconfig.json, if applicable.
  • Commits in this PR are minimal and have descriptive commit messages.

@VirginiaBalseiro VirginiaBalseiro requested a review from a team as a code owner November 18, 2022 11:19
@vercel
Copy link

vercel bot commented Nov 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solid-client-js ✅ Ready (Inspect) Visit Preview Nov 21, 2022 at 11:12AM (UTC)

@VirginiaBalseiro VirginiaBalseiro temporarily deployed to ESS Dev-Next November 18, 2022 11:20 Inactive
@VirginiaBalseiro VirginiaBalseiro temporarily deployed to NSS November 18, 2022 11:20 Inactive
@VirginiaBalseiro VirginiaBalseiro temporarily deployed to ESS Dev-Next November 18, 2022 11:21 Inactive
@VirginiaBalseiro VirginiaBalseiro temporarily deployed to ESS Dev-Next November 18, 2022 11:21 Inactive
@VirginiaBalseiro VirginiaBalseiro temporarily deployed to ESS Dev-Next November 18, 2022 11:21 Inactive
@vercel vercel bot temporarily deployed to Preview November 18, 2022 11:21 Inactive
Copy link
Contributor

@ThisIsMissEm ThisIsMissEm left a comment

Choose a reason for hiding this comment

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

A few small changes, but otherwise, great work!

const profileContent = buildThing({ url: webId }).addIri(
rdf.type,
foaf.Agent
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch!

>;
};
mockedUnauthFetch.mockRejectedValueOnce(new Error("error"));
await expect(getWebIdDataset(MOCK_WEBID)).rejects.toThrow("error");
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be good to make the error message something like Fetch Failed 500 internal server error just so the code can't be satisfied by just doing new Error("error") or something — i.e., swallowing the error

@ThisIsMissEm ThisIsMissEm changed the title Feat/get webid dataset feat: Add getWebIdDataset method Nov 18, 2022
@NSeydoux NSeydoux force-pushed the feat/get-webid-dataset branch from 3331220 to 3431741 Compare November 18, 2022 20:47
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 18, 2022 20:47 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 18, 2022 20:47 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 18, 2022 20:48 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 18, 2022 20:48 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 18, 2022 20:48 Inactive
@vercel vercel bot temporarily deployed to Preview November 18, 2022 20:48 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 09:57 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 21, 2022 09:57 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 09:57 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 21, 2022 09:57 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 09:59 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 09:59 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 09:59 Inactive
@vercel vercel bot temporarily deployed to Preview November 21, 2022 10:06 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:35 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 21, 2022 10:35 Inactive
VirginiaBalseiro and others added 4 commits November 21, 2022 11:35
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
@NSeydoux NSeydoux force-pushed the feat/get-webid-dataset branch from b139653 to e7ef9ac Compare November 21, 2022 10:35
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:35 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 21, 2022 10:35 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:36 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:36 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:36 Inactive
@vercel vercel bot temporarily deployed to Preview November 21, 2022 10:36 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:40 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 21, 2022 10:40 Inactive
@vercel vercel bot temporarily deployed to Preview November 21, 2022 10:41 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:41 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:41 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 10:41 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 11:11 Inactive
@NSeydoux NSeydoux temporarily deployed to NSS November 21, 2022 11:11 Inactive
@vercel vercel bot temporarily deployed to Preview November 21, 2022 11:12 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 11:12 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 11:12 Inactive
@NSeydoux NSeydoux temporarily deployed to ESS Dev-Next November 21, 2022 11:12 Inactive
@NSeydoux NSeydoux merged commit 569c16e into main Nov 21, 2022
@NSeydoux NSeydoux deleted the feat/get-webid-dataset branch November 21, 2022 16:14
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.

4 participants