feat: v2 - #1593
Conversation
…c block for better bundler compatibility
|
|
@dinwwwh is attempting to deploy a commit to the Dinh Le Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedToo many files! This PR contains 300 files, which is 150 over the limit of 150. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (300)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request performs a major restructuring of the oRPC documentation, removing obsolete, framework-specific adapter files and consolidating them into unified guides for the Fetch API, Node HTTP, WebSockets, and Message Ports. It also introduces new documentation for scaling large projects, binary data, and integrations with Effect and Evlog, while updating existing guides to reflect recent API changes. The review feedback correctly identifies several reference errors in the new code snippets—specifically, mismatched imports for CORSPlugin versus CORSHandlerPlugin and a missing import for handler in the SSR optimization guide—along with a minor typo in the blog post.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
|
||
| ```ts [RPC] | ||
| import { RPCHandler } from '@orpc/server/fetch' | ||
| import { CORSPlugin } from '@orpc/server/plugins' |
There was a problem hiding this comment.
|
|
||
| ```ts [OpenAPI] | ||
| import { OpenAPIHandler } from '@orpc/openapi/fetch' | ||
| import { CORSPlugin } from '@orpc/server/plugins' |
There was a problem hiding this comment.
| import { createServer } from 'node:http' | ||
| import { OpenAPIGenerator } from '@orpc/openapi' | ||
| import { OpenAPIHandler } from '@orpc/openapi/node' | ||
| import { CORSPlugin } from '@orpc/server/plugins' |
There was a problem hiding this comment.
| import type { RouterClient } from '@orpc/server' | ||
| import { headers } from 'next/headers' |
There was a problem hiding this comment.
The handler instance is used on line 80 but is not imported or defined in this file. Please import handler from your route file to ensure the code snippet is complete and correct.
| import type { RouterClient } from '@orpc/server' | |
| import { headers } from 'next/headers' | |
| import type { RouterClient } from '@orpc/server' | |
| import { headers } from 'next/headers' | |
| import { handler } from '@/app/rpc/[[...rest]]/route' |
| - And my first sponsor (private) to start my story | ||
|
|
||
| If you're interested in sponsoring oRPC, you can do it [here](https://github.com/sponsors/dinwwwh). | ||
| If you're interesting in sponsoring oRPC, you can do it [here](https://github.com/sponsors/unnoq). |
There was a problem hiding this comment.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
@orpc/arktype
@orpc/client
@orpc/contract
@orpc/experimental-effect
@orpc/evlog
@orpc/interop
@orpc/json-schema
@orpc/next
@orpc/openapi
@orpc/opentelemetry
@orpc/pino
@orpc/publisher
@orpc/ratelimit
@orpc/server
@orpc/shared
@orpc/tanstack-query
@orpc/valibot
@orpc/zod
commit: |

No description provided.