Skip to content

fix: set connect query to 2.1.1#1402

Merged
rsbh merged 1 commit intomainfrom
fix_admin_search_issue
Feb 23, 2026
Merged

fix: set connect query to 2.1.1#1402
rsbh merged 1 commit intomainfrom
fix_admin_search_issue

Conversation

@rsbh
Copy link
Member

@rsbh rsbh commented Feb 23, 2026

Summary

This PR hardcodes connect-query to version 2.1.1
We were using 2.1.1 before, but recently we started using 2.2.0 because of the ^ in the package.json and the need to update the pnpm lock file.

The issue is that our pageQuery is nested inside the query. But we were passing query as the key, since we can't pass query.offset, as it doesn't support that and it will throw TS issue.
But in the recent changes to the library, it ignores the page query when generating the infinite query key.
We were passing query as the page query and search, and the filter was nested inside it, and they stopped working.
Either we move the offset ouside query or add support for nested keys in connect-query.

An issue has been raised in connect-query as well connectrpc/connect-query-es#569

@rsbh rsbh requested a review from paanSinghCoder February 23, 2026 06:28
@vercel
Copy link

vercel bot commented Feb 23, 2026

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

Project Deployment Actions Updated (UTC)
frontier Ready Ready Preview, Comment Feb 23, 2026 6:28am

@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Pinned internal dependency versions to ensure consistent behavior and improve installation stability across packages.

Walkthrough

Version pinning changes applied across multiple package.json files within the web directory. The caret range specifiers for @connectrpc/connect-query are replaced with exact version pins (2.1.1), and a pnpm overrides block is added to pin @connectrpc/connect-query-core to 2.1.1.

Changes

Cohort / File(s) Summary
Dependency Version Pinning
web/apps/admin/package.json, web/sdk/package.json
Changed @connectrpc/connect-query from caret range ^2.1.1 to exact version 2.1.1 in both files.
PNPM Overrides
web/package.json
Added pnpm overrides block to pin @connectrpc/connect-query-core to exact version 2.1.1.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 22295324589

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 38.457%

Totals Coverage Status
Change from base Build 22214392467: 0.0%
Covered Lines: 16200
Relevant Lines: 42125

💛 - Coveralls

Copy link
Contributor

@paanSinghCoder paanSinghCoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this scenario, I think we should consider removing^ for other crucial packages as well.

It will add an overhead for us to manually upgrade packages but will keep things predictable.

@rsbh rsbh merged commit 24d1f4e into main Feb 23, 2026
8 checks passed
@rsbh rsbh deleted the fix_admin_search_issue branch February 23, 2026 06:43
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.

3 participants