-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow passing HTTP headers to client fetcher
Add the ability to pass extra HTTP headers to a request. To achieve this the third argument (signal) now can also be a RequestOptions object (recommended), which includes the signal and headers keys.
- Loading branch information
1 parent
7722a6f
commit 549714b
Showing
7 changed files
with
1,053 additions
and
1,409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@labdigital/graphql-fetcher": minor | ||
--- | ||
|
||
Support passing extra HTTP headers to client fetcher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,5 +67,6 @@ | |
"react": ">= 18.0.0", | ||
"react-dom": ">= 18.2.0", | ||
"@opentelemetry/api": ">= 1.7.0" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.