[PR #6180] [MERGED] fix(better-auth): fix isAction meta property #6506

Closed
opened 2026-03-13 13:01:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6180
Author: @jonathansamines
Created: 11/22/2025
Status: Merged
Merged: 11/22/2025
Merged by: @Bekacru

Base: canaryHead: fix/is-action-flag


📝 Commits (2)

  • 3c62ef9 fix(better-auth): fix isaction annotation
  • 2cc8b70 chore: use better-call beta

📊 Changes

4 files changed (+38 additions, -12 deletions)

View changed files

📝 packages/better-auth/src/client/client.test.ts (+12 -0)
📝 packages/better-auth/src/client/test-plugin.ts (+14 -0)
📝 pnpm-lock.yaml (+11 -11)
📝 pnpm-workspace.yaml (+1 -1)

📄 Description

Summary by cubic

Fixes handling of the isAction metadata so non-action endpoints aren’t inferred or exposed in the React client. Adds tests to ensure the client only exposes action endpoints.

  • Bug Fixes

    • Exclude endpoints marked isAction: false from client typing and exposure.
    • Added unit test and a non-action test endpoint to validate behavior.
  • Dependencies

    • Bumped better-call to 1.1.0-beta.2.

Written for commit 2cc8b70289. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6180 **Author:** [@jonathansamines](https://github.com/jonathansamines) **Created:** 11/22/2025 **Status:** ✅ Merged **Merged:** 11/22/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/is-action-flag` --- ### 📝 Commits (2) - [`3c62ef9`](https://github.com/better-auth/better-auth/commit/3c62ef9afd376cf1c0e9b4384213236cf4890f1f) fix(better-auth): fix isaction annotation - [`2cc8b70`](https://github.com/better-auth/better-auth/commit/2cc8b70289a1b1d7d938290fcbccda6b36801f4b) chore: use better-call beta ### 📊 Changes **4 files changed** (+38 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/client/client.test.ts` (+12 -0) 📝 `packages/better-auth/src/client/test-plugin.ts` (+14 -0) 📝 `pnpm-lock.yaml` (+11 -11) 📝 `pnpm-workspace.yaml` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixes handling of the isAction metadata so non-action endpoints aren’t inferred or exposed in the React client. Adds tests to ensure the client only exposes action endpoints. - **Bug Fixes** - Exclude endpoints marked isAction: false from client typing and exposure. - Added unit test and a non-action test endpoint to validate behavior. - **Dependencies** - Bumped better-call to 1.1.0-beta.2. <sup>Written for commit 2cc8b70289a1b1d7d938290fcbccda6b36801f4b. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:01:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6506