Skip to content

Add ability to pass extra options to fetch method #495

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Janjiran
Copy link

@Janjiran Janjiran commented Apr 22, 2025

Description

Enhance VAST client options to include fetchOptions for custom request body fetchingOptions like headers and caching. This is helpful when you want to pass basic params but don't want to write a whole urlHandler.
Update tests to validate fetchOptions integration and ensure existing timeout and withCredentials settings are preserved.

Type

  • Breaking change
  • Enhancement
  • Fix
  • Documentation
  • Tooling

@Janjiran Janjiran changed the title [client][test] Add ability to pass extra options to fetch method Add ability to pass extra options to fetch method Apr 29, 2025
@Janjiran
Copy link
Author

Hi, can somebody take a look at this PR? It would be great to have this option :) I'm happy to update it further if there are any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant