Skip to content

session.authFetch.bind(session) needed when passing as argument #26

@elf-pavlik

Description

@elf-pavlik

Otherwise this.isActive() and possibly other method calls with this fail.

Many libraries accept authenticated fetch as a parameter, for example
https://github.com/rubensworks/rdf-dereference.js?tab=readme-ov-file#input-using-a-custom-fetch-function

I took a quick look at https://github.com/uvdsl/solid-rdf-store
and it looks like it gets Session and not just fetch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions