Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: revise getting started experience with framework-first IA#274

Draft
chrisraygill wants to merge 2 commits into
mainfrom
chgill/revise-get-started
Draft

feat: revise getting started experience with framework-first IA#274
chrisraygill wants to merge 2 commits into
mainfrom
chgill/revise-get-started

Conversation

@chrisraygill
Copy link
Copy Markdown
Collaborator

  • Add "Choose your stack" hub page as primary onboarding entry point
  • Restructure sidebar: lean "Get started" section, new "Frameworks" section with language filtering, "Client SDKs" replaced by Web client and Flutter pages
  • Add framework guides for Next.js App Router, Next.js Pages, Hono, Fastify, Gin, Echo, Chi, Django, and Web client
  • Make Flutter guide language-agnostic (works with any Genkit backend)
  • Add "Work with Genkit in AI tools" page for MCP/IDE setup
  • Add CORS handling to Go framework guides (gin-contrib/cors, Echo middleware, go-chi/cors)
  • Fix Output import bug in FastAPI and Flask guides (use output_schema= instead of Output())
  • Ignore .scratch/ directory

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly restructures the Genkit documentation by introducing a "Choose your stack" entry point and adding or rewriting integration guides for various frameworks across JavaScript, Go, Python, and Dart. Key changes include new guides for Next.js (App and Pages routers), Fastify, Hono, Django, Gin, Echo, Chi, and a generic Web Client, alongside simplified versions of existing guides for Angular, Express, FastAPI, Flask, Flutter, and Shelf. Feedback focuses on correcting a recurring typo where gemini-2.5-flash was used instead of gemini-2.0-flash across multiple files, and improving request cancellation logic in the Fastify guide.

headers,
body,
duplex: 'half',
signal: request.raw.aborted ? AbortSignal.abort() : undefined,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using AbortSignal.abort() only provides a signal that is already aborted. To correctly support request cancellation, you should pass the request's own signal.

    signal: request.signal,

Comment thread src/content/docs/guides/frameworks/chi.mdx
Comment thread src/content/docs/guides/frameworks/django.mdx
Comment thread src/content/docs/guides/frameworks/django.mdx
Comment thread src/content/docs/guides/frameworks/echo.mdx
Comment thread src/content/docs/guides/frameworks/gin.mdx
Comment thread src/content/docs/guides/frameworks/hono.mdx
Comment thread src/content/docs/guides/frameworks/nextjs-app-router.mdx
Comment thread src/content/docs/guides/frameworks/nextjs-pages.mdx
Comment thread src/content/docs/guides/frameworks/shelf.mdx
@chrisraygill chrisraygill force-pushed the chgill/revise-get-started branch from bed9dd6 to 7fcaf75 Compare May 9, 2026 15:22
@genkit-ai genkit-ai deleted a comment from gemini-code-assist Bot May 9, 2026
@chrisraygill chrisraygill force-pushed the chgill/revise-get-started branch 2 times, most recently from b86c88d to 441ff19 Compare May 10, 2026 04:15
- Add "Choose your stack" hub page as primary onboarding entry point
- Restructure sidebar: lean "Get started" section, new "Frameworks" section with language filtering, "Client SDKs" replaced by Web client and Flutter pages
- Add framework guides for Next.js App Router, Next.js Pages, Hono, Fastify, Gin, Echo, Chi, Django, and Web client
- Make Flutter guide language-agnostic (works with any Genkit backend)
- Add "Work with Genkit in AI tools" page for MCP/IDE setup
- Add CORS handling to Go framework guides (gin-contrib/cors, Echo middleware, go-chi/cors)
- Fix Output import bug in FastAPI and Flask guides (use output_schema= instead of Output())
- Ignore .scratch/ directory
@chrisraygill chrisraygill force-pushed the chgill/revise-get-started branch from 441ff19 to 2dfdda1 Compare May 11, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant