Skip to content

docs: replace manual type-assertioin when using the Hono adapter#77

Merged
kallebysantos merged 1 commit into
supabase:mainfrom
GabeDahl:hono-types
Jun 12, 2026
Merged

docs: replace manual type-assertioin when using the Hono adapter#77
kallebysantos merged 1 commit into
supabase:mainfrom
GabeDahl:hono-types

Conversation

@GabeDahl

@GabeDahl GabeDahl commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Better way to add database types to the SupabaseContext in the Hono adapter

What is the current behavior?

Developers are expected to manually assert the SupabaseContext each time they access it in a request

What is the new behavior?

Developers apply the SupabaseContext<Database> once when they call `new Hono()

@GabeDahl GabeDahl requested review from a team as code owners June 7, 2026 22:55
@GabeDahl GabeDahl changed the title Replace manual type-assertioin when using the Hono adapter docs: replace manual type-assertioin when using the Hono adapter Jun 9, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@supabase/server@77

commit: f9371c8

@kallebysantos kallebysantos merged commit 5ac7ccf into supabase:main Jun 12, 2026
2 of 3 checks passed
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.

2 participants