fOfer
fOfer
Explore posts from servers
HHono
Created by fOfer on 7/5/2024 in #help
zValidator not coercing types correctly
Thanks a lot
10 replies
HHono
Created by fOfer on 7/5/2024 in #help
zValidator not coercing types correctly
Is there a way to get the correct types without having to extract the zod schema?
10 replies
HHono
Created by fOfer on 7/5/2024 in #help
zValidator not coercing types correctly
When I coerce the query to a number, Hono infers the type as Record<string, string>
10 replies
HHono
Created by igmtink on 5/21/2024 in #help
How to handle multiple errors in (react query) using (hono rpc)?
Or create a typesafe function that receives the $get or $post return and apply that validation without loosing typesafety
13 replies
HHono
Created by igmtink on 5/21/2024 in #help
How to handle multiple errors in (react query) using (hono rpc)?
Would love to set this at the hc client level
13 replies
HHono
Created by igmtink on 5/21/2024 in #help
How to handle multiple errors in (react query) using (hono rpc)?
async (res) => {
switch (res.status) {
case 500:
throw new errors.ParseError(await res.text())
case 200:
return res.json()
case 404:
default:
throw new errors.NotFoundError(await res.text())
}
}
async (res) => {
switch (res.status) {
case 500:
throw new errors.ParseError(await res.text())
case 200:
return res.json()
case 404:
default:
throw new errors.NotFoundError(await res.text())
}
}
13 replies
HHono
Created by igmtink on 5/21/2024 in #help
How to handle multiple errors in (react query) using (hono rpc)?
I myself had to do this in my useQuery instances on the client side
13 replies
HHono
Created by igmtink on 5/21/2024 in #help
How to handle multiple errors in (react query) using (hono rpc)?
Curious about this
13 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
No description
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
it seems to be fine
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
yes
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
@rayofbytes
62 replies
RRailway
Created by fOfer on 8/29/2023 in #✋|help
PR environments are not being deployed for the project owner
2392a9e5-5d8e-488b-8904-1eb574bce78d
6 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
still no cigar
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
anyoe from the team that can look into this?
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
No description
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
still no luck on my end 😦
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
ive tried reconnecting my github account
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
is there any troubleshooting i could do on my end?
62 replies
RRailway
Created by fOfer on 8/28/2023 in #✋|help
PR environments are not being deployed for the project owner
mondays will be mondays
62 replies