Skip to content

feat: setFetchFunction for web#656

Closed
SilverMira wants to merge 1 commit into
appwrite:masterfrom
SilverMira:feat-652-user-defined-fetch-function-in-web-sdk
Closed

feat: setFetchFunction for web#656
SilverMira wants to merge 1 commit into
appwrite:masterfrom
SilverMira:feat-652-user-defined-fetch-function-in-web-sdk

Conversation

@SilverMira

@SilverMira SilverMira commented May 12, 2023

Copy link
Copy Markdown

What does this PR do?

Introduce feature on Web SDK to accept user-defined fetch function when performing request, detailed pitch at #652

Test Plan

I have run the sdk-generator and bundled the generated Web SDK, linked to an existing SvelteKit project as a local package, and was able to reuse fetched responses by the server when SSR is used

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

@SilverMira

Copy link
Copy Markdown
Author

Hi, just dropping by to see if there are any updates, running Appwrite on Sveltekit SSR wouldn't even work properly for authenticated request during load() without this functionality, as the only way to forward auth cookies on the server would be using handleFetch which proxies Sveltekit's special fetch function

@ChiragAgg5k ChiragAgg5k deleted the branch appwrite:master June 11, 2026 07:41
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.

2 participants