You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the Arri TS server assumes that developers are using H3. However ideally devs should be able to integrate Arri RPC into existing nodeJS servers whether it be Express, Fastify, or whatever.
Additional context
In order to accomplish this we will need to strip out the core Arri server code and allow that to be a standalone library. The existing TS server (with file-based routing and hot-reload for client code) will be converted to a "framework" built on top of the Arri core library.
The "arri-core" library will not be a server in and of itself. Instead it will require an "adapter" that can be used to map it to various different HTTP libraries. (We can possibly use trpc adapters as a point of reference for this). We can ship with some default adapters for vanilla nodejs, express, and fastify. Then we'll also want to document how people can make their own adapters.
The text was updated successfully, but these errors were encountered:
Describe the feature
Right now the Arri TS server assumes that developers are using H3. However ideally devs should be able to integrate Arri RPC into existing nodeJS servers whether it be Express, Fastify, or whatever.
Additional context
In order to accomplish this we will need to strip out the core Arri server code and allow that to be a standalone library. The existing TS server (with file-based routing and hot-reload for client code) will be converted to a "framework" built on top of the Arri core library.
The "arri-core" library will not be a server in and of itself. Instead it will require an "adapter" that can be used to map it to various different HTTP libraries. (We can possibly use trpc adapters as a point of reference for this). We can ship with some default adapters for vanilla nodejs, express, and fastify. Then we'll also want to document how people can make their own adapters.
The text was updated successfully, but these errors were encountered: