\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":2938,"labels":2939,"number":735,"owner":2857,"repository":2873,"state":2907,"title":2944,"updated_at":2945,"url":2946,"score":2947},"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!",[2940,2941],{"name":2867,"color":2868},{"name":2942,"color":2943},"idea","B1EB81","Path params","2022-06-07T11:27:54Z","https://github.com/trpc/trpc-openapi/issues/2",0.7774058,{"description":2949,"labels":2950,"number":2952,"owner":2857,"repository":2873,"state":2907,"title":2953,"updated_at":2954,"url":2955,"score":2956},"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. ",[2951],{"name":2867,"color":2868},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":2958,"labels":2959,"number":2963,"owner":2857,"repository":2857,"state":2907,"title":2964,"updated_at":2965,"url":2966,"score":2967},"### 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 ",[2960],{"name":2961,"color":2962},"🙏 review please","A7356F",898,"[RFC] New docs ","2022-10-04T18:08:24Z","https://github.com/trpc/trpc/issues/898",0.78148645,["Reactive",2969],{},["Set"],["ShallowReactive",2972],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fSYnRgf3sAWvDFRyB4q_6kA8uzCpSJ9Jq0DvcA_3if2s":-1},"/trpc/trpc-openapi/113"]