Beyond the Basics of Mini oRPC
This section explores advanced features and techniques you can implement to enhance Mini oRPC's capabilities.
Getting Started
The complete Mini oRPC implementation is available in the Mini oRPC Repository, with a playground for testing. Once you implement a new feature, submit a pull request to the repository for review.
Feature Suggestions
Below are recommended features you can implement in Mini oRPC:
INFO
You can implement these features in any order. Pick the ones you find interesting. You can import code from existing oRPC packages to make development easier.
Middleware Typed Input Support (reference)
Builder Variants (reference)
- Prevent redefinition of
.input
and.output
methods
- Prevent redefinition of
Type-Safe Error Support (reference)
RPC Protocol Implementation (reference)
- Support native types like
Date
,Map
,Set
, etc. - Support
File
/Blob
types - Support Event Iterator types
- Support native types like
Multi-runtime support
Contract First Support
OpenAPI Support
Tanstack Query Integration (reference)