[PR #7756] [CLOSED] refactor: remove unused trailing AND connectors #7535

Closed
opened 2026-03-13 13:40:42 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7756
Author: @TheUntraceable
Created: 2/1/2026
Status: Closed

Base: canaryHead: patch-6


📝 Commits (1)

  • c8e52e2 Remove trailing AND connectors

📊 Changes

1 file changed (+0 additions, -12 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/routes/crud-access-control.ts (+0 -12)

📄 Description

Summary by cubic

Removed unnecessary "connector: 'AND'" fields from organization role access-control queries. This aligns with the filter API and avoids malformed filters.

  • Refactors
    • Dropped trailing AND connectors from single-condition filters across role create, delete, list, get, and update routes.
    • No behavior change; queries use the builder’s default AND handling.

Written for commit c8e52e2832. Summary will update 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/7756 **Author:** [@TheUntraceable](https://github.com/TheUntraceable) **Created:** 2/1/2026 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `patch-6` --- ### 📝 Commits (1) - [`c8e52e2`](https://github.com/better-auth/better-auth/commit/c8e52e28320586b4e6448abe51a2f20647587a03) Remove trailing AND connectors ### 📊 Changes **1 file changed** (+0 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/routes/crud-access-control.ts` (+0 -12) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed unnecessary "connector: 'AND'" fields from organization role access-control queries. This aligns with the filter API and avoids malformed filters. - **Refactors** - Dropped trailing AND connectors from single-condition filters across role create, delete, list, get, and update routes. - No behavior change; queries use the builder’s default AND handling. <sup>Written for commit c8e52e28320586b4e6448abe51a2f20647587a03. Summary will update 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:40:42 -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#7535