jlalmes / trpc-openapi

OpenAPI support for tRPC 🧩
https://www.npmjs.com/package/trpc-openapi
MIT License
2.12k stars 136 forks source link

trpc 11 #434

Open marc-on-github opened 5 months ago

marc-on-github commented 5 months ago

warning " > trpc-openapi@1.2.0" has incorrect peer dependency "@trpc/server@^10.0.0".

Is an update planned?

Tatamo commented 5 months ago

+1 trpc v11 has not been officially released yet, but I would be very happy if trpc-openapi could be used together with trpc@next.

ethndotsh commented 5 months ago

+1, Really need this

zzzev commented 5 months ago

This patch-package patch makes trpc-openapi work w/ trpc@11 for my app -- I'm sure this doesn't account for everything, but may be useful for others looking for a short-term fix: trpc-openapi+1.2.0.patch

ethndotsh commented 5 months ago

This patch-package patch makes trpc-openapi work w/ trpc@11 for my app -- I'm sure this doesn't account for everything, but may be useful for others looking for a short-term fix: trpc-openapi+1.2.0.patch

Yup this worked for me! Thank you.

crwnd commented 5 months ago

With dependency override in package.json:

"overrides": {
  "trpc-openapi": {
    "@trpc/server": "^11.0.0-next-beta.289"
  }
}
tdanh2k commented 4 months ago

+1 Love to see this soon