Repository navigation
feat(server): route metadata - #1736
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). next-prisma-starter – ./examples/next-prisma-starter🔍 Inspect: https://vercel.com/trpc/next-prisma-starter/35toWxyjmZaxWv6yzeFX9dmdH3C1 www – ./www🔍 Inspect: https://vercel.com/trpc/www/5v9StC11MVx5r81xcRNZjyWj3HSw |
KATT
left a comment
There was a problem hiding this comment.
This looks great! I'm impressed that you were able to dive deep and get this in place.
Left comments here. Please resolve and dismiss my current review so I get a notification :)
Furthermore, this change needs tests & docs updates, maybe add a new router-meta.test.ts-file where it's tested.
changes implemented + basic unit tests
Let me see if @sachinraja or @jlames sees any reason why it shouldn't be merged 👀
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Love this! I think this can help a lot with building third-party extensions and with a few ideas I have. Implementation wise it looks good too (wow that's a lot of changes for one generic).
As a side note I think some of the other benefits of this will also be addressed by the reusable procedures in the v10 playground.
jlalmes
left a comment
There was a problem hiding this comment.
Brilliant work, thank you @LouisHaftmann! 🚀
This is going to be super useful for greater control of auto-generated OpenAPI specs moving forward (#1724)
Let's merge ✅
|
Oh man, this messed with the pretty commit history of |
|
I think there's settings to only allow squash commits from PR's. |
Yeah, but I need the merge ones for the |
|
@LouisHaftmann could you re-open this PR? I wanna merge it with a squash https://github.com/trpc/trpc/compare/main...feat/route-metadata?expand=1 |
sry sry sry |
|
This pull request has been locked because it had no new activity for 30 days. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Implementation of route metadata #1731