Commit 70d8ee9
docs: correct two stale GraphQL residue sites in package source comments (#11414)
`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.
Claude-Session: https://claude.ai/code/session_01T9cDbY2NBiVJWYx3BpWfH2
Co-authored-by: Claude <noreply@anthropic.com>1 parent 3c418c4 commit 70d8ee9
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
0 commit comments