Skip to content

feat(better-auth): convex db provider#20

Open
onmax wants to merge 3 commits intomainfrom
feat/better-auth-provider
Open

feat(better-auth): convex db provider#20
onmax wants to merge 3 commits intomainfrom
feat/better-auth-provider

Conversation

@onmax
Copy link
Owner

@onmax onmax commented Feb 12, 2026

Summary

  • Export nuxt-convex/better-auth with createConvexHttpAdapter.
  • Register the convex database provider for @onmax/nuxt-better-auth via the better-auth:database:providers hook.
  • Update the Better Auth integration docs and add a module-level test.

Tests

  • pnpm dev:prepare
  • pnpm test
  • pnpm typecheck

Notes

@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt-convex Ready Ready Preview, Comment Feb 12, 2026 10:20am

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 12, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
nuxt-convex-playground 133fa24 Commit Preview URL

Branch Preview URL
Feb 12 2026, 10:20 AM

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 04cb20c2c5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

),
)
const allDocs = results.flatMap(r => r.docs)
const uniqueDocs = [...new Map(allDocs.map((d: unknown) => [(d as { _id: string })._id, d])).values()]

Choose a reason for hiding this comment

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

P2 Badge Apply limit after merging OR findMany results

When findMany receives OR-connected filters and a limit, each clause is paginated with that limit and then merged/deduplicated, but the merged array is returned as-is. This can return more rows than requested (for example, two OR branches can each contribute up to limit unique docs), which breaks callers that rely on bounded result sets; enforce the final limit after dedupe (and after sorting when sortBy is present).

Useful? React with 👍 / 👎.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 12, 2026

npm i https://pkg.pr.new/onmax/nuxt-convex@20

commit: 133fa24

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