Skip to content

🚀 Feature: Allow passing in custom fetch imp #112

@Fractal-Tess

Description

@Fractal-Tess

🔖 Feature description

In the constructor of the client, it would be nice for users to be able to provide their own fetch implementations.

🎤 Pitch

Why?

Because frameworks like SvelteKit, allow prefetching data on the server and exposing the promise to the client. For this to work and to avoid re-fetching twice (on the server and the client), the appwrite SDK client needs to be able to receive the custom sveltekit fetch implementation.
https://svelte.dev/docs/kit/load#Making-fetch-requests

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions