LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraphgraphzodLanggraphZodMetaRegistry
Class●Since v0.3

LanggraphZodMetaRegistry

A Zod v4-compatible meta registry that extends the base registry.

This registry allows you to associate and retrieve metadata for Zod schemas, leveraging the base registry for storage. It is compatible with Zod v4 and interoperates with the base registry to ensure consistent metadata management across different Zod versions.

Copy
class LanggraphZodMetaRegistry

Bases

$ZodRegistry<Meta & __type, Schema>

Constructors

constructor
constructor

Properties

property
_idmap: Map<string, Schema>
property
_map: WeakMap<Schema, $replace<Meta & __type, Schema>>
property
_meta: Meta & __type
property
_schema: Schema
property
parent: SchemaMetaRegistry

Methods

method
add→ this
method
clear
method
get→ Value

Return the current value of the channel.

method
has→ boolean

Checks if metadata exists for a given schema.

method
remove→ this

Removes the metadata associated with a given schema.

View source on GitHub