Skip to content

Conversation

@eluce2
Copy link
Collaborator

@eluce2 eluce2 commented Jan 31, 2026

Prevents 431 Request Header Fields Too Large when config grows.
Passes config as JSON body instead of query param, matching
test-connection and table-metadata endpoints.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com


Note

Medium Risk
Changes the list-tables API contract from querystring GET to JSON-body POST, which can break any external callers not updated. Logic is otherwise unchanged and scoped to this single endpoint + its web client hook.

Overview
Prevents 431 Request Header Fields Too Large by changing list-tables from GET /api/list-tables?config=... to POST /api/list-tables with { config } in the JSON body, aligning it with other endpoints.

Updates the web useListTables hook to call the new POST endpoint, and adds a patch changeset for @proofkit/typegen documenting the behavior change.

Written by Cursor Bugbot for commit 214a1b5. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Jan 31, 2026

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

Project Deployment Actions Updated (UTC)
proofkit-docs Ready Ready Preview Feb 3, 2026 2:39am

Request Review

@eluce2 eluce2 marked this pull request as ready for review January 31, 2026 19:06
Copy link
Collaborator Author

eluce2 commented Jan 31, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 31, 2026

Open in StackBlitz

@proofkit/better-auth

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/better-auth@111

@proofkit/cli

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/cli@111

create-proofkit

pnpm add https://pkg.pr.new/proofgeist/proofkit/create-proofkit@111

@proofkit/fmdapi

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/fmdapi@111

@proofkit/fmodata

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/fmodata@111

@proofkit/typegen

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/typegen@111

@proofkit/webviewer

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/webviewer@111

commit: fa68af4

Copy link
Collaborator Author

eluce2 commented Feb 3, 2026

Merge activity

  • Feb 3, 2:38 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 3, 2:40 AM UTC: Graphite rebased this pull request as part of a merge.
  • Feb 3, 2:40 AM UTC: @eluce2 merged this pull request with Graphite.

@eluce2 eluce2 changed the base branch from 01-30-expands_with_empty_select to graphite-base/111 February 3, 2026 02:38
@eluce2 eluce2 changed the base branch from graphite-base/111 to main February 3, 2026 02:39
Prevents 431 Request Header Fields Too Large when config grows.
Passes config as JSON body instead of query param, matching
test-connection and table-metadata endpoints.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@eluce2 eluce2 force-pushed the 01-31-fix_typegen_convert_list-tables_endpoint_from_get_to_post branch from fa68af4 to 214a1b5 Compare February 3, 2026 02:39
@eluce2 eluce2 merged commit eb7d751 into main Feb 3, 2026
11 checks passed
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.

2 participants