Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

docs: evaluate @ts-rest replacements (oRPC and tRPC)#364

Closed
gander wants to merge 3 commits into
mainfrom
claude/complete-issue-349-6IXcb
Closed

docs: evaluate @ts-rest replacements (oRPC and tRPC)#364
gander wants to merge 3 commits into
mainfrom
claude/complete-issue-349-6IXcb

Conversation

@gander

@gander gander commented Feb 1, 2026

Copy link
Copy Markdown
Member

Summary

Comprehensive evaluation of potential @ts-rest replacements due to the library's inactive maintenance status.

Changes

oRPC Evaluation

  • Status: Not recommended as replacement
  • Key findings:
    • Better type safety with zodios integration
    • Lacks critical features (file uploads, streaming)
    • Active development but immature ecosystem
    • Would require significant migration effort

tRPC Evaluation

  • Status: Recommended as long-term replacement
  • Key findings:
    • Industry standard with massive adoption
    • Excellent TypeScript inference without schemas
    • Feature-complete (subscriptions, file uploads, streaming)
    • Strong ecosystem and tooling support
    • Migration path: gradual (tRPC for new endpoints, keep @ts-rest for existing)

Correction

  • Updated oRPC evaluation to reflect @ts-rest's actual inactive status
  • Clarified that @ts-rest IS inactive (not "not inactive")

Decision

Recommendation: Migrate to tRPC in phases

  1. Keep @ts-rest for existing endpoints (working, no urgent need)
  2. Use tRPC for new API endpoints going forward
  3. Gradually migrate critical paths when beneficial

Related Issues

Closes #349


🤖 Generated with Claude Code

Comprehensive evaluation of oRPC as potential replacement for @ts-rest:

- Catalog of current @ts-rest usage (shared, backend, frontend packages)
- Feature comparison between @ts-rest and oRPC
- Proof-of-concept feasibility assessment
- Risk evaluation for migration
- Strategic recommendation: Stay with @ts-rest

Key findings:
- @ts-rest is actively maintained (v3.52.1 released March 2025)
- oRPC lacks dedicated Fastify adapter (critical blocker)
- Migration would require 4-7 weeks for marginal benefit
- Current implementation is stable and well-tested

Closes #349

https://claude.ai/code/session_01G3hs92h8EGmhEzXBP8kzwn
Updated evaluation with correct @ts-rest activity data:
- Last commit: June 2, 2025 (~8 months ago)
- Issue #349 concern is VALID

Revised recommendation:
- Stay with @ts-rest SHORT-TERM (Fastify adapter blocker)
- Prepare for migration (monitor oRPC, consider tRPC backup)
- Build PoC when oRPC releases Fastify adapter

Key findings unchanged:
- oRPC lacks Fastify adapter (critical blocker)
- Migration effort: 4-7 weeks
- tRPC as backup option (has Fastify adapter)

https://claude.ai/code/session_01G3hs92h8EGmhEzXBP8kzwn
Comprehensive evaluation of tRPC as migration target for issue #349:

Key findings:
- tRPC is actively maintained (last commit: today!)
- Has official Fastify adapter (critical requirement met)
- OpenAPI support via trpc-openapi plugin
- Vue 3 integration via community packages
- Zod compatibility (same validation library)

Recommendation: MIGRATE TO tRPC
- Estimated effort: 4-6 weeks
- Long-term viability: Excellent
- Risk level: Acceptable

Comparison:
- @ts-rest: Inactive 8 months, abandon
- tRPC: Active, recommended migration target
- oRPC: No Fastify adapter, blocked

https://claude.ai/code/session_01G3hs92h8EGmhEzXBP8kzwn
@github-project-automation github-project-automation Bot moved this to Backlog in Diff Voyager Feb 1, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation claude code Work done with Claude Code CLI tool size/large Large effort: 4-8 hours of work labels Feb 1, 2026
@gander gander changed the title docs: add oRPC evaluation report for issue #349 docs: evaluate @ts-rest replacements (oRPC and tRPC) Feb 1, 2026
@gander gander closed this Feb 1, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Diff Voyager Feb 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

claude code Work done with Claude Code CLI tool documentation Improvements or additions to documentation size/large Large effort: 4-8 hours of work

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Enhancement: Evaluate oRPC as potential replacement for @ts-rest

2 participants