Samuel Barnholdt
Samuel Barnholdt
Explore posts from servers
RRailway
Created by Samuel Barnholdt on 11/11/2024 in #✋|help
Accessing filesystem of one service through another
Hi, I have two services A and B. I want to access and modify the filesystem in Service A through Service B. How do I accomplish this? Essentially this: 1. curl -X post serviceb.url/write-files 2. Files in Service A are modified 3. Profit
19 replies
TtRPC
Created by Samuel Barnholdt on 4/8/2024 in #❓-help
Throwing something other than `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`
No description
12 replies
TtRPC
Created by Samuel Barnholdt on 1/9/2024 in #❓-help
Better error tracing when using TRPC routers
No description
4 replies
TtRPC
Created by Samuel Barnholdt on 11/20/2023 in #❓-help
Compressing parts of query/mutation input
Hi, I'm using trpc with the proxyclient for typesafety but recently hit an obstacle where some strings are so large (I believe that is the error at the very least) that I can't send the payload without getting Unexpected end of JSON input. Has anyone seen this before and if yes, how did you solve it? I am solving it now by compressing parts of the query on the way in and out but not a fan since it's sort of a hidden implementation detail. Can I centralize this somewhere? https://discord.com/channels/867764511159091230/1172197806233092096 <- is something like this the approach to go?
5 replies