FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.9k stars 140 forks source link

trpc.io support #1106

Closed dhinesh03 closed 2 years ago

dhinesh03 commented 2 years ago

trpc.io(https://trpc.io/) is gaining lot of attractions. Any chance to add it to FoalTs in near feature?

LoicPoullain commented 2 years ago

Hi @dhinesh03 👋

I took a look at the documentation of trpc. It looks like the library creates its own server or creates an Express middleware to be added in an Express app. This design is not compatible with the way Foal is built which works independently from Express (or at least for a large majority of the code). Due to this architecture issue, it is very unlikely that Foal will include native support of trpc in the future.