-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trpc 11 #434
Comments
+1 |
+1, Really need this |
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: |
Yup this worked for me! Thank you. |
With dependency override in package.json:
|
+1 Love to see this soon |
I forked it for now. https://github.com/kdy1/trpc-openapi npm package: I applied the patch by @zzzev |
Getting the following error - couldn't see an Issues tab on your fork, hence here |
In case its helpful to anyone, I ended up forking I'm currently using it like this in my "better-trpc-openapi": "github:deldrid1/trpc-openapi#a99adb49e8e7c9304aa2988b425d36957d99fc53", (Make sure you grab the latest commit SHA from https://github.com/deldrid1/trpc-openapi if you want the latest code) |
Hey @deldrid1 made one small pr for your fork to fix an issue with unknown errors. Seems to be working other than that. Thank you everyone! deldrid1#1 |
I also have a fork that works with tRPC 11 https://www.npmjs.com/package/trpc-to-openapi it's been running fine with t3-app/NextJS. However, I don't use other adapters, I fixed all tests cases for everything so in theory they should work. The only thing I couldn't port was the serverless adapter, the trpc implementation changed too much. This is a fork of another fork (https://github.com/LilyRose2798/trpc-openapi) which uses zod-openapi instead of zod-to-json-schema and some other fixes. PR are welcomed |
warning " > [email protected]" has incorrect peer dependency "@trpc/server@^10.0.0".
Is an update planned?
The text was updated successfully, but these errors were encountered: