[PR #1909] [MERGED] fix(sdk): make sure we always pass URL as a string to fetch #1833

Closed
opened 2026-02-15 20:17:00 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1909
Author: @dqbd
Created: 1/17/2026
Status: Merged
Merged: 1/17/2026
Merged by: @dqbd

Base: mainHead: dqbd/sdk-custom-fetch-to-string


📝 Commits (3)

  • 2cd9c23 fix(sdk): make sure we always pass URL as a string to fetch
  • 1c8e771 Add changeset
  • d9d6602 Fix tests

📊 Changes

3 files changed (+18 additions, -13 deletions)

View changed files

.changeset/short-bags-fry.md (+5 -0)
📝 libs/sdk/src/client.ts (+3 -3)
📝 libs/sdk/src/tests/fetch.test.ts (+10 -10)

📄 Description

Some fetch implementations do not handle URL objects well, defer to string instead.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/1909 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 1/17/2026 **Status:** ✅ Merged **Merged:** 1/17/2026 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/sdk-custom-fetch-to-string` --- ### 📝 Commits (3) - [`2cd9c23`](https://github.com/langchain-ai/langgraphjs/commit/2cd9c2349a25a7967ef8a03c41bc495bb4670c6f) fix(sdk): make sure we always pass URL as a string to fetch - [`1c8e771`](https://github.com/langchain-ai/langgraphjs/commit/1c8e771d458bf4ebf450965c337319e4b648fb7d) Add changeset - [`d9d6602`](https://github.com/langchain-ai/langgraphjs/commit/d9d6602da757324eba26499b765dec7e95f84a5c) Fix tests ### 📊 Changes **3 files changed** (+18 additions, -13 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/short-bags-fry.md` (+5 -0) 📝 `libs/sdk/src/client.ts` (+3 -3) 📝 `libs/sdk/src/tests/fetch.test.ts` (+10 -10) </details> ### 📄 Description Some fetch implementations do not handle URL objects well, defer to `string` instead. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:17:00 -05:00
yindo closed this issue 2026-02-15 20:17:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1833