[PR #109] [MERGED] Type-safety of Channel.subscribeTo #497

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/109
Author: @functorism
Created: 4/6/2024
Status: Merged
Merged: 4/16/2024
Merged by: @nfcampos

Base: mainHead: channel-subscribe-to-type-safety


📝 Commits (1)

  • 82031c7 Ensure Channel.subscribeTo(["input"], { key: "key" }) which throws at runtime is a type-error

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 langgraph/src/pregel/index.ts (+0 -1)
📝 langgraph/src/tests/pregel.test.ts (+7 -0)

📄 Description

Ensure Channel.subscribeTo(["input"], { key: "key" }) which throws at runtime is a type-error.


🔄 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/109 **Author:** [@functorism](https://github.com/functorism) **Created:** 4/6/2024 **Status:** ✅ Merged **Merged:** 4/16/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `channel-subscribe-to-type-safety` --- ### 📝 Commits (1) - [`82031c7`](https://github.com/langchain-ai/langgraphjs/commit/82031c7d3bacb73fc6f9a2d5d8fc9ee0a2fcef31) Ensure Channel.subscribeTo(["input"], { key: "key" }) which throws at runtime is a type-error ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/src/pregel/index.ts` (+0 -1) 📝 `langgraph/src/tests/pregel.test.ts` (+7 -0) </details> ### 📄 Description Ensure `Channel.subscribeTo(["input"], { key: "key" })` which throws at runtime is a type-error. --- <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 18:17:11 -05:00
yindo closed this issue 2026-02-15 18:17:11 -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#497