[PR #1241] [MERGED] fix(langgraph): apply Zod reducer when attempting to validate input #1324

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1241
Author: @dqbd
Created: 5/29/2025
Status: Merged
Merged: 5/29/2025
Merged by: @dqbd

Base: mainHead: dqbd/zod-input-apply-reducer


📝 Commits (1)

  • 4def333 fix(langgraph): apply Zod reducer when attempting to validate input

📊 Changes

4 files changed (+275 additions, -101 deletions)

View changed files

📝 libs/langgraph/src/graph/state.ts (+17 -7)
📝 libs/langgraph/src/graph/zod/schema.ts (+8 -93)
📝 libs/langgraph/src/graph/zod/state.ts (+100 -0)
📝 libs/langgraph/src/tests/pregel.test-d.ts (+150 -1)

📄 Description

Also adds additional tests for pregel.test-d.ts


🔄 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/1241 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 5/29/2025 **Status:** ✅ Merged **Merged:** 5/29/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/zod-input-apply-reducer` --- ### 📝 Commits (1) - [`4def333`](https://github.com/langchain-ai/langgraphjs/commit/4def33350c1d9220f6f0140cf11bf64635aa64fa) fix(langgraph): apply Zod reducer when attempting to validate input ### 📊 Changes **4 files changed** (+275 additions, -101 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/graph/state.ts` (+17 -7) 📝 `libs/langgraph/src/graph/zod/schema.ts` (+8 -93) 📝 `libs/langgraph/src/graph/zod/state.ts` (+100 -0) 📝 `libs/langgraph/src/tests/pregel.test-d.ts` (+150 -1) </details> ### 📄 Description Also adds additional tests for `pregel.test-d.ts` --- <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:15:16 -05:00
yindo closed this issue 2026-02-15 20:15:16 -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#1324