Skip to content

fix: page param for listConnections#5234

Merged
TBonnin merged 2 commits intomasterfrom
tbonnin/INC-87/connections-limit-2
Jan 13, 2026
Merged

fix: page param for listConnections#5234
TBonnin merged 2 commits intomasterfrom
tbonnin/INC-87/connections-limit-2

Conversation

@TBonnin
Copy link
Collaborator

@TBonnin TBonnin commented Jan 13, 2026


Support page query parameter for public connections listing

Extends the public connections listing to accept a page query parameter across the server handler, TypeScript types, Node SDK, and OpenAPI spec. The integration test suite now exercises multi-page pagination to confirm correct page slicing behavior.

Key Changes

• Updated packages/server/lib/controllers/connection/getConnections.ts validation schema to accept page and forward it to connectionService.listConnections
• Enhanced packages/server/lib/controllers/connection/getConnections.integration.test.ts with pagination assertions across three pages
• Extended packages/node-client/lib/index.ts listConnections helper to accept and propagate page in both modern and legacy call signatures
• Aligned packages/types/lib/connection/api/get.ts and docs/spec.yaml to document the new page query parameter

Affected Areas

packages/server/lib/controllers/connection/getConnections.ts
packages/server/lib/controllers/connection/getConnections.integration.test.ts
packages/node-client/lib/index.ts
packages/types/lib/connection/api/get.ts
docs/spec.yaml


This summary was automatically generated by @propel-code-bot

@TBonnin TBonnin requested a review from khaliqgant January 13, 2026 15:18
@linear
Copy link

linear bot commented Jan 13, 2026

@my-senior-dev-pr-review
Copy link

my-senior-dev-pr-review bot commented Jan 13, 2026

🤖 My Senior Dev — Analysis Complete

👤 For @TBonnin

📁 Expert in docs (28 edits) • ⚡ 21st PR this month

View your contributor analytics →


📊 5 files reviewed • 1 need attention

🚨 High Risk:

  • docs/spec.yaml — The updated API specification lacks validation on the new 'page' parameter, impacting both functionality and security checks.

⚠️ Needs Attention:

  • docs/spec.yaml — Indentation and optional parameters management are crucial for proper parsing and functionality of the API.

🚀 Open Interactive Review →

The full interface unlocks features not available in GitHub:

  • 💬 AI Chat — Ask questions on any file, get context-aware answers
  • 🔍 Smart Hovers — See symbol definitions and usage without leaving the diff
  • 📚 Code Archeology — Understand how files evolved over time (/archeology)
  • 🎯 Learning Insights — See how this PR compares to similar changes

💬 Chat here: @my-senior-dev explain this change — or try @chaos-monkey @security-auditor @optimizer @skeptic @junior-dev

📖 View all 12 personas & slash commands

You can interact with me by mentioning @my-senior-dev in any comment:

In PR comments or on any line of code:

  • Ask questions about the code or PR
  • Request explanations of specific changes
  • Get suggestions for improvements

Slash commands:

  • /help — Show all available commands
  • /archeology — See the history and evolution of changed files
  • /profile — Performance analysis and suggestions
  • /expertise — Find who knows this code best
  • /personas — List all available AI personas

AI Personas (mention to get their perspective):

Persona Focus
@chaos-monkey 🐵 Edge cases & failure scenarios
@skeptic 🤨 Challenge assumptions
@optimizer Performance & efficiency
@security-auditor 🔒 Security vulnerabilities
@accessibility-advocate Inclusive design
@junior-dev 🌱 Simple explanations
@tech-debt-collector 💳 Code quality & shortcuts
@ux-champion 🎨 User experience
@devops-engineer 🚀 Deployment & scaling
@documentation-nazi 📚 Documentation gaps
@legacy-whisperer 🏛️ Working with existing code
@test-driven-purist Testing & TDD

For the best experience, view this PR on myseniordev.com — includes AI chat, file annotations, and interactive reviews.

@TBonnin TBonnin force-pushed the tbonnin/INC-87/connections-limit-2 branch from d901a9d to a63e9c9 Compare January 13, 2026 15:59
@TBonnin TBonnin changed the title fix: spec.yaml indentation fix: page param for listConnections Jan 13, 2026
@TBonnin TBonnin enabled auto-merge January 13, 2026 16:00
@TBonnin TBonnin added this pull request to the merge queue Jan 13, 2026
Merged via the queue into master with commit 0898566 Jan 13, 2026
30 of 35 checks passed
@TBonnin TBonnin deleted the tbonnin/INC-87/connections-limit-2 branch January 13, 2026 16:47
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