Skip to main content
Glama
cycleforward-reference-support.md568 B
## Cycle/Forward-Reference Support Uses deferred patching to handle references: 1. When encountering `{ "__ref": id }`, returns a `PendingRef` marker 2. Continues deserializing other fields 3. After all objects are created, `ctx.applyPatches()` resolves all pending references References only apply to object-shaped, serializable values. The generator avoids probing for `__ref` on primitive-like fields (including literal unions and `T | null` where `T` is primitive-like), and it parses `Date` / `Date | null` from ISO strings without treating them as references.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/macroforge-ts/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server