You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(codegen): elevate nodeHttpAdapter to top-level generation option
- Move nodeHttpAdapter from CliConfig to GraphQLSDKConfigTarget
- Auto-enable nodeHttpAdapter when CLI generation is enabled (unless explicitly false)
- Generate node-fetch.ts in ORM output when nodeHttpAdapter is enabled
- Export NodeHttpAdapter from ORM index.ts for standalone Node.js usage
- Pass nodeHttpAdapter to multi-target CLI generator
- Update template comment to reflect general Node.js usage (not CLI-specific)
This allows any Node.js application (ORM, CLI, or custom) to use NodeHttpAdapter
for localhost subdomain routing without needing CLI generation enabled.
0 commit comments