BlairCurrey / trpc-koa-adapter

Add trpc to your koa server
https://www.npmjs.com/package/trpc-koa-adapter
MIT License
22 stars 5 forks source link

Support to upcoming v11 #31

Open cabello opened 1 week ago

cabello commented 1 week ago

We have been using trpc-koa-adapter and trpc v11 release candidate in production for a while without any issues:

The following warning, could be mitigated with a simple change to package.json would you accept a PR?

@trpc/server is listed by your project with version 11.0.0-rc.421 (pcff91), which doesn't satisfy what trpc-koa-adapter requests (^10.0.0-rc.4).

Thank you

BlairCurrey commented 4 days ago

Hi @cabello, thank you for chiming in. Widening the expected versions is more than welcome but I noticed there is actually a minor build error when using v11, as well as some trpc export changes which break the trpc-koa-adapter test mocks. Nothing that would effect using it, as you've noticed, but a few required changes nonetheless. Its something I intend on resolving but a PR is welcome if you still feel inclined.