From 07a05a7053d88e99c2ef4586983f4e5987ade710 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 23 Aug 2026 16:23:07 +0000 Subject: [PATCH] docs: correct two stale GraphQL residue sites in package source comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `packages/spec/src/data/object.zod.ts:252` — the JSDoc on `apiEnabled` said "Enable REST/GraphQL API access". There is no automatic GraphQL API; `apiEnabled` gates the automatic REST and MCP surfaces (`packages/mcp/src/stdio-data-bridge.ts:260` reads `apiEnabled === false`). The `.describe()` one line below was already correct ("Expose object via automatic APIs") and is untouched. `packages/adapters/hono/src/index.ts:105-106` — the `createHonoApp` doc comment's parenthetical named "GraphQL raw result" among the routes registered explicitly. `createHonoApp` registers auth (`/auth/*`) and discovery (`prefix`, `/discovery`, `/.well-known/objectstack`) explicitly, then one catch-all; no GraphQL route exists (`packages/runtime/src/http-dispatcher.ts:2087` — `// /graphql removed — GraphQL is not in the product plan (#2462 follow-on)`). Comment-only; no behavior, `.describe()`, or schema-shape change. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01T9cDbY2NBiVJWYx3BpWfH2 --- packages/adapters/hono/src/index.ts | 4 ++-- packages/spec/src/data/object.zod.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/adapters/hono/src/index.ts b/packages/adapters/hono/src/index.ts index 4a4ff5c5a44..cbc886b5e8e 100644 --- a/packages/adapters/hono/src/index.ts +++ b/packages/adapters/hono/src/index.ts @@ -102,8 +102,8 @@ export function objectStackMiddleware(kernel: ObjectKernel) { /** * Creates a full-featured Hono app with all ObjectStack route dispatchers. * - * Only routes that need framework-specific handling (auth service, GraphQL - * raw result, discovery wrapper) are registered explicitly. + * Only routes that need framework-specific handling (auth service, + * discovery wrapper) are registered explicitly. * All other routes (meta, data, packages, analytics, automation, i18n, ui, * openapi, custom endpoints, and any future routes) are handled by a * catch-all that delegates to `HttpDispatcher.dispatch()`. diff --git a/packages/spec/src/data/object.zod.ts b/packages/spec/src/data/object.zod.ts index 555c6402857..6e810e50017 100644 --- a/packages/spec/src/data/object.zod.ts +++ b/packages/spec/src/data/object.zod.ts @@ -249,7 +249,7 @@ export const ObjectCapabilities = strictObject({ /** Enable global search indexing */ searchable: z.boolean().default(true).describe('Index records for global search'), - /** Enable REST/GraphQL API access */ + /** Enable REST/MCP API access */ apiEnabled: z.boolean().default(true).describe('Expose object via automatic APIs'), /**