Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

docs: update Supabase runtime README - #913

Closed
sorenbs wants to merge 1 commit into
mainfrom
codex/update-supabase-readme
Closed

sorenbs wants to merge 1 commit into
mainfrom
codex/update-supabase-readme

Conversation

@sorenbs

@sorenbs sorenbs commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Update the Supabase extension README to match the shipped /runtime facade: supabase(), asUser(), asAnon(), asServiceRole(), and service-role .supabase access.
  • Correct stale follow-up-work claims for RLS, cross-contract handles/FKs, test utilities, and helper functions.
  • Refresh the config and runtime code examples against the runnable Supabase example app.

Validation

  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm -r --filter @prisma-next/extension-supabase... build
  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm --filter @prisma-next/extension-supabase typecheck
  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm --filter @prisma-next/extension-supabase lint
  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm --filter @prisma-next/extension-supabase test -- supabase-facade.test.ts
  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm --filter @prisma-next/example-supabase typecheck
  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm --filter @prisma-next/example-supabase test -- service-role-namespaces.test-d.ts
  • PATH=/Users/sorenschmidt/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm lint:docs

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: acebaf2d-5338-4f3f-90b0-ff1b821a9023

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/update-supabase-readme

Comment @coderabbitai help to get the list of available commands.

@wmadden-electric

Copy link
Copy Markdown
Contributor

Superseded by #985 (extension-supabase Slice E). That PR rewrites the same README section as part of the launch close-out and folds in this draft's runtime-usage content, corrected for what has since shipped — #957 (roles are first-class now, not follow-up), #959 (TS RLS authoring), and #960's own README edits, which this branch predates. Closing in favour of #985.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants