[PR #1025] [MERGED] feat(pregel): add Zod config schema + langgraph studio meta properties #1178

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1025
Author: @dqbd
Created: 3/24/2025
Status: Merged
Merged: 3/25/2025
Merged by: @dqbd

Base: mainHead: dqbd/zod-config-schema


📝 Commits (1)

  • f9706cf feat(pregel): add Zod config schema + langgraph studio meta properties

📊 Changes

5 files changed (+151 additions, -14 deletions)

View changed files

📝 libs/langgraph/src/graph/state.ts (+19 -4)
📝 libs/langgraph/src/graph/zod/schema.ts (+56 -9)
📝 libs/langgraph/src/graph/zod/state.ts (+6 -1)
📝 libs/langgraph/src/pregel/index.ts (+20 -0)
📝 libs/langgraph/src/tests/pregel.test.ts (+50 -0)

📄 Description

Rely on parsing and post-processing description, similar to how jsonDescription works in zod-to-json-schema. Avoiding use of postprocess for now: https://github.com/StefanTerdell/zod-to-json-schema?tab=readme-ov-file#using-postprocess-for-including-examples-and-other-meta

Related PRs


🔄 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/1025 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 3/24/2025 **Status:** ✅ Merged **Merged:** 3/25/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/zod-config-schema` --- ### 📝 Commits (1) - [`f9706cf`](https://github.com/langchain-ai/langgraphjs/commit/f9706cf8d3aa484adf1e468aa3b48811b9f2dbc5) feat(pregel): add Zod config schema + langgraph studio meta properties ### 📊 Changes **5 files changed** (+151 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/graph/state.ts` (+19 -4) 📝 `libs/langgraph/src/graph/zod/schema.ts` (+56 -9) 📝 `libs/langgraph/src/graph/zod/state.ts` (+6 -1) 📝 `libs/langgraph/src/pregel/index.ts` (+20 -0) 📝 `libs/langgraph/src/tests/pregel.test.ts` (+50 -0) </details> ### 📄 Description Rely on parsing and post-processing description, similar to how `jsonDescription` works in `zod-to-json-schema`. Avoiding use of `postprocess` for now: https://github.com/StefanTerdell/zod-to-json-schema?tab=readme-ov-file#using-postprocess-for-including-examples-and-other-meta Related PRs - https://github.com/langchain-ai/langgraphjs/pull/1029 --- <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 19:17:33 -05:00
yindo closed this issue 2026-02-15 19:17:34 -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#1178