Skip to content

fix(api-types): drop org_id + project_id from ConnectionRow - #13

Merged
fabianocruz merged 1 commit into
mainfrom
fix/api-types-connection-row-wire-shape
Apr 24, 2026
Merged

fix(api-types): drop org_id + project_id from ConnectionRow#13
fabianocruz merged 1 commit into
mainfrom
fix/api-types-connection-row-wire-shape

Conversation

@fabianocruz

Copy link
Copy Markdown
Member

Summary

Why it matters

Discovered while adopting the schema in codespar-enterprise#41 — the fix was written but landed on the feat/api-types-package branch after #12 was squash-merged. This PR brings main to the correct shape before publishing @codespar/api-types@0.1.0 to npm.

Test plan

  • npm run build -w @codespar/api-types — clean
  • npm run test -w @codespar/api-types — 14/14 pass

🤖 Generated with Claude Code

…eal wire shape

Follow-up to #12. The backend's serializeConnection() strips both
fields before responding; any runtime parse of a real /v1/connections
response would have rejected it. Test updated to the real shape.

Discovered during enterprise adoption (codespar-enterprise#41) — the
fix landed on the api-types branch after #12 was merged, so it needs
to ship as its own PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@fabianocruz
fabianocruz merged commit 21ba9d6 into main Apr 24, 2026
1 check passed
@fabianocruz
fabianocruz deleted the fix/api-types-connection-row-wire-shape branch April 24, 2026 01:29
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