\r\n \u003C/WagmiProvider>\r\n );\r\n}\r\n\r\nimport { withTRPC } from \"@trpc/next\";\r\nimport type { AppRouter } from \"@/backend/router\";\r\n//remember to add wagmi wrapper\r\n\r\nexport default withTRPC\u003CAppRouter>({\r\n config({ ctx }) {\r\n /**\r\n * If you want to use SSR, you need to use the server's full URL\r\n * @link https://trpc.io/docs/ssr\r\n */\r\n const url = process.env.VERCEL_URL\r\n ? `https://${process.env.VERCEL_URL}/api/trpc`\r\n : \"http://localhost:3000/api/trpc\";\r\n\r\n return {\r\n \r\n url,\r\n /**\r\n * @link https://react-query.tanstack.com/reference/QueryClient\r\n */\r\n // queryClientConfig: { defaultOptions: { queries: { staleTime: 60 } } },\r\n };\r\n },\r\n /**\r\n * @link https://trpc.io/docs/ssr\r\n */\r\n ssr: false,\r\n})(MyApp);\r\n```",[],1775,"I've been looking into this for over 2 hrs now. Is it possible to set custom headers after a query is successfull ?","2022-04-11T22:21:04Z","https://github.com/trpc/trpc/issues/1775",0.77484035,{"description":3253,"labels":3254,"number":736,"owner":3172,"repository":3188,"state":3222,"title":3259,"updated_at":3260,"url":3261,"score":3262},"Hey @jlalmes, this is a great little library!\r\n\r\nI am exploring possibilities and as far as I can understand, there is currently no way to define a [`path` parameter](https://swagger.io/docs/specification/describing-parameters/#path-parameters).\r\nConsider the [petstore swagger example](https://petstore.swagger.io/#/pet/uploadFile), the `uploadFile` has `petId` parameter, which is part of the path.\r\n\r\nCould we try to extract the path params by looking for curly braces in `meta.openapi.path`, and then find param with the same name in `input` and mark that param as `from: \"path\"` instead of `from: \"query\"`?\r\n\r\nWIP attempt to implement the above approach: https://github.com/jlalmes/trpc-openapi/compare/v0.1.0...dodas:feat/path-parameters\r\n\r\nHave you thought about supporting this use case?\r\nI am happy to discuss this and potentially take a stab at implementing it.\r\n\r\nThanks!",[3255,3256],{"name":3182,"color":3183},{"name":3257,"color":3258},"idea","B1EB81","Path params","2022-06-07T11:27:54Z","https://github.com/trpc/trpc-openapi/issues/2",0.7774058,{"description":3264,"labels":3265,"number":3267,"owner":3172,"repository":3188,"state":3222,"title":3268,"updated_at":3269,"url":3270,"score":3271},"I would like to migrate a legacy REST API with an OpenAPI spec to TRPC. In order to do so we must accept `application/x-www-form-urlencoded` request bodies. ",[3266],{"name":3182,"color":3183},187,"Feat: Support `application/x-www-form-urlencoded` request bodies","2023-01-02T23:37:51Z","https://github.com/trpc/trpc-openapi/issues/187",0.7814607,{"description":3273,"labels":3274,"number":3278,"owner":3172,"repository":3172,"state":3222,"title":3279,"updated_at":3280,"url":3281,"score":3282},"### New doc sections\r\n\r\n- **HTTP RPC Specification** -> https://trpc.io/docs/rpc\r\n- **Subscriptions / WebSockets** -> https://trpc.io/docs/subscriptions\r\n\r\n\r\nAny feedback? Feel free to modify or write here and I'll update\r\n\r\n\r\ncc @mmkal @Lilja @danielyogel @cyrus-za @peterp @anthonyshort ",[3275],{"name":3276,"color":3277},"🙏 review please","A7356F",898,"[RFC] New docs ","2022-10-04T18:08:24Z","https://github.com/trpc/trpc/issues/898",0.78148645,["Reactive",3284],{},["Set"],["ShallowReactive",3287],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fSYnRgf3sAWvDFRyB4q_6kA8uzCpSJ9Jq0DvcA_3if2s":-1},"/trpc/trpc-openapi/113"]