[PR #1204] [MERGED] feat(langgraph): allow zod schemas in node input opts #1297

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1204
Author: @hntrl
Created: 5/21/2025
Status: Merged
Merged: 5/22/2025
Merged by: @dqbd

Base: mainHead: hunter/gh-1096


📝 Commits (5)

  • 359bc62 feat(langgraph): allow zod schemas in node input opts
  • fea8b76 fix(langgraph): zod state input format & lints
  • a5451ef chore(langgraph): fix test imports
  • 0cd985e fix(langgraph): make tests explicitly test node input channel
  • 118e8fe Add query to return type

📊 Changes

2 files changed (+92 additions, -4 deletions)

View changed files

📝 libs/langgraph/src/graph/state.ts (+12 -4)
libs/langgraph/src/tests/zod_state.test.ts (+80 -0)

📄 Description

Fixes #1096


🔄 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/1204 **Author:** [@hntrl](https://github.com/hntrl) **Created:** 5/21/2025 **Status:** ✅ Merged **Merged:** 5/22/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `hunter/gh-1096` --- ### 📝 Commits (5) - [`359bc62`](https://github.com/langchain-ai/langgraphjs/commit/359bc622b2ec1c4bbb6680000f8c90c13ffb9f68) feat(langgraph): allow zod schemas in node input opts - [`fea8b76`](https://github.com/langchain-ai/langgraphjs/commit/fea8b7697a62f382a4c9124f5aab365773cb98db) fix(langgraph): zod state input format & lints - [`a5451ef`](https://github.com/langchain-ai/langgraphjs/commit/a5451ef7eebd487790fc4437d570c93c71bcc115) chore(langgraph): fix test imports - [`0cd985e`](https://github.com/langchain-ai/langgraphjs/commit/0cd985e839846d487cd010c7be9b6c70941b71dc) fix(langgraph): make tests explicitly test node input channel - [`118e8fe`](https://github.com/langchain-ai/langgraphjs/commit/118e8fe52cc2044ae17670d468bf1fce8c88a402) Add `query` to return type ### 📊 Changes **2 files changed** (+92 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/graph/state.ts` (+12 -4) ➕ `libs/langgraph/src/tests/zod_state.test.ts` (+80 -0) </details> ### 📄 Description Fixes #1096 --- <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:10 -05:00
yindo closed this issue 2026-02-15 20:15:10 -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#1297