-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: rm unstable #6617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: rm unstable #6617
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Warning Rate limit exceeded@KATT has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 3 minutes and 43 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (4)
WalkthroughThis pull request primarily replaces unstable TRPC link implementations with their stable counterparts across examples, tests, and documentation. Several files now import and use Changes
Sequence Diagram(s)sequenceDiagram
participant Client as TRPC Client
participant Split as SplitLink Handler
participant Batch as httpBatchStreamLink
participant Subscription as httpSubscriptionLink
participant Server as Backend Server
Client->>Split: Send operation request
alt Subscription Operation
Split->>Subscription: Call httpSubscriptionLink(...)
Subscription->>Server: Process subscription request
else Normal Operation
Split->>Batch: Call httpBatchStreamLink(...)
Batch->>Server: Process batch streaming request
end
sequenceDiagram
participant Dev as Developer
participant RouterLoader as Router Loader
participant Lazy as lazy() Function
participant Err as Error Handler
Dev->>RouterLoader: Load router module using lazy()
RouterLoader->>Lazy: Validate and load router module
alt Module Valid
Lazy->>Dev: Router loaded successfully
else Validation Fails
Lazy->>Err: Emit error with updated message referencing lazy()
Err->>Dev: Notify incorrect usage
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
🚅 Deployed to the trpc-pr-6617 environment in trpc-sse-and-websockets
|
# Conflicts: # packages/tanstack-react-query/test/useSubscription.test.tsx
trpc/trpc#6617 removed an unstable API we used in the app. I just switched it over to use the stable replacement
|
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Closes #
🎯 Changes
Summary by CodeRabbit
Refactor
New Features
maxURLLengthandmaxItems.Documentation
httpBatchStreamLinkandhttpSubscriptionLink.Tests