[PR #1476] [MERGED] fix(api): parser: sanitise generated symbol names, honor typescript extension #1489

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1476
Author: @dqbd
Created: 7/31/2025
Status: Merged
Merged: 8/1/2025
Merged by: @dqbd

Base: mainHead: dqbd/api-schema-inference


📝 Commits (6)

  • d8be206 fix(api): parser: sanitise generated symbol names, honor typescript extension
  • a497fbe Add changeset
  • 2cedb19 Honor extension
  • bb0e063 Honor user provided tsconfig to properly resolve files, print out all pre-emit TSC errors
  • 4e4f049 Add ts-ignore directive to avoid unnecessary warnings
  • 1d0cae9 Clean up the schema, make sure we prefer our compiler options, honor allowImportingTsExtensions, prevent duplicating inference symbols

📊 Changes

4 files changed (+192 additions, -90 deletions)

View changed files

.changeset/hard-sweet-end.md (+5 -0)
📝 libs/langgraph-api/src/graph/parser/parser.mts (+159 -52)
📝 libs/langgraph-api/src/graph/parser/schema/types.template.mts (+6 -6)
📝 libs/langgraph-api/tests/parser.test.mts (+22 -32)

📄 Description

No description provided


🔄 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/1476 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 7/31/2025 **Status:** ✅ Merged **Merged:** 8/1/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/api-schema-inference` --- ### 📝 Commits (6) - [`d8be206`](https://github.com/langchain-ai/langgraphjs/commit/d8be206fa1e04cffd4f741d5e9daccf24839ac73) fix(api): parser: sanitise generated symbol names, honor typescript extension - [`a497fbe`](https://github.com/langchain-ai/langgraphjs/commit/a497fbe368005d9423afbf886c7fa164ebbd5db0) Add changeset - [`2cedb19`](https://github.com/langchain-ai/langgraphjs/commit/2cedb19ef11da5d737135177cbdab5aba59a7f01) Honor extension - [`bb0e063`](https://github.com/langchain-ai/langgraphjs/commit/bb0e063d2c1f38b8e514f6a6f739a4fdbb20d23b) Honor user provided tsconfig to properly resolve files, print out all pre-emit TSC errors - [`4e4f049`](https://github.com/langchain-ai/langgraphjs/commit/4e4f0492a56c66bcf438f3d47658859b6f47739f) Add ts-ignore directive to avoid unnecessary warnings - [`1d0cae9`](https://github.com/langchain-ai/langgraphjs/commit/1d0cae9f5f97d49a32416629c36e9dab0327aec0) Clean up the schema, make sure we prefer our compiler options, honor `allowImportingTsExtensions`, prevent duplicating inference symbols ### 📊 Changes **4 files changed** (+192 additions, -90 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/hard-sweet-end.md` (+5 -0) 📝 `libs/langgraph-api/src/graph/parser/parser.mts` (+159 -52) 📝 `libs/langgraph-api/src/graph/parser/schema/types.template.mts` (+6 -6) 📝 `libs/langgraph-api/tests/parser.test.mts` (+22 -32) </details> ### 📄 Description _No description provided_ --- <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:57 -05:00
yindo closed this issue 2026-02-15 20:15:57 -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#1489