File tree Expand file tree Collapse file tree
graphql/codegen/src/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,10 +201,11 @@ export interface CliConfig {
201201 builtinNames ?: BuiltinNames ;
202202
203203 /**
204- * Enable localhost fetch adapter for *.localhost subdomain routing.
205- * When true, generates a localhost -fetch.ts that patches globalThis.fetch
206- * to use node:http.request for *.localhost URLs , enabling local development
204+ * Enable NodeHttpAdapter for *.localhost subdomain routing.
205+ * When true, generates a node -fetch.ts with NodeHttpAdapter (implements GraphQLAdapter)
206+ * using node:http/node:https for requests , enabling local development
207207 * with subdomain-based routing (e.g. auth.localhost:3000).
208+ * No global patching — the adapter is passed to createClient via the adapter option.
208209 * @default false
209210 */
210211 localhostAdapter ?: boolean ;
You can’t perform that action at this time.
0 commit comments