Abdul Sharif
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/18/2023 in #questions
Errors while running mutations when deploying CT3A using SST
No, there is awesome guy who wrapped terraform around open-next which I have experience with:
https://github.com/RJPearson94/terraform-aws-open-next
Thank you @NotLuksus I think I did solve the issue or at least got it to a working point.
Replacing that unstable_httpBatchStreamLink with httpBatchLink did the trick. I had missed a crucial part in the TRPC documentation: OFFICIAL DOCS:
unstable_httpBatchStreamLink is a terminating link that batches an array of individual tRPC operations into a single
HTTP request that's sent to a single tRPC procedure (equivalent to httpBatchLink), but doesn't wait for all the responses of the batch to be ready and streams the responses as soon as any data is available.
this might also be related: https://github.com/sst/open-next/issues/328
13 replies
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/18/2023 in #questions
Errors while running mutations when deploying CT3A using SST
Thank you for that. I did already have httpBatchStreamLink but with
Do you mind sharing your thoughts and what version of trpc and next you are using?
unstable_
prefix,
here is what I have:
I am using open-next to deploy to AWS, and what was working before suddenly wasn't... and I get the exact same error that you did, unexepcted numerical values in my response but everything else in the backend working fine.Do you mind sharing your thoughts and what version of trpc and next you are using?
13 replies
TTCTheo's Typesafe Cult
•Created by NotLuksus on 12/18/2023 in #questions
Errors while running mutations when deploying CT3A using SST
Hey @NotLuksus - I'm facing similar issue here, i'm somewhat new to development coming from devops. Do you think you can little bit more details on
httpBatchStream
?13 replies