Skip to content

refactor and cleanup code - #3

Merged
reliant-01 merged 1 commit into
mainfrom
refactor
Apr 17, 2026
Merged

reliant-01 merged 1 commit into
mainfrom
refactor

Conversation

@reliant-01

Copy link
Copy Markdown
Contributor

No description provided.

@reliant-01
reliant-01 merged commit 2b729ec into main Apr 17, 2026
0 of 2 checks passed
@reliant-01
reliant-01 deleted the refactor branch April 17, 2026 02:27
reliant-01 added a commit that referenced this pull request Jun 15, 2026
#3)

A List<Entity>Request that carries filter/order_by fields but NO cursor
pagination (no page_size/page_token) now generates a real Tier-1
filtered/ordered List handler instead of falling to the custom path.

validateCRUDShape for "list" now admits two shapes: cursor-paginated
(BOTH page_size + page_token) and non-paginated (NEITHER). Only an
inconsistent half-pair (exactly one) stays custom — the cursor template
needs both. Pagination wiring (req.PageSize/PageToken dereferences,
NextPageToken packing) is gated on the fields actually being present via
a shared detectListPagination helper, so the non-paginated body compiles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
reliant-01 added a commit that referenced this pull request Jul 1, 2026
reliant-01 added a commit that referenced this pull request Jul 1, 2026
#3)

A List<Entity>Request that carries filter/order_by fields but NO cursor
pagination (no page_size/page_token) now generates a real Tier-1
filtered/ordered List handler instead of falling to the custom path.

validateCRUDShape for "list" now admits two shapes: cursor-paginated
(BOTH page_size + page_token) and non-paginated (NEITHER). Only an
inconsistent half-pair (exactly one) stays custom — the cursor template
needs both. Pagination wiring (req.PageSize/PageToken dereferences,
NextPageToken packing) is gated on the fields actually being present via
a shared detectListPagination helper, so the non-paginated body compiles.
reliant-01 added a commit that referenced this pull request Jul 16, 2026
#3)

A List<Entity>Request that carries filter/order_by fields but NO cursor
pagination (no page_size/page_token) now generates a real Tier-1
filtered/ordered List handler instead of falling to the custom path.

validateCRUDShape for "list" now admits two shapes: cursor-paginated
(BOTH page_size + page_token) and non-paginated (NEITHER). Only an
inconsistent half-pair (exactly one) stays custom — the cursor template
needs both. Pagination wiring (req.PageSize/PageToken dereferences,
NextPageToken packing) is gated on the fields actually being present via
a shared detectListPagination helper, so the non-paginated body compiles.
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