jaiv
jaiv
TtRPC
Created by jaiv on 7/14/2023 in #❓-help
Keep getting 500 error response I can't figure out
turns out i forgot to setup env files. it was all working on my pc but i started coding more on my macbook lol
6 replies
TtRPC
Created by jaiv on 7/14/2023 in #❓-help
Keep getting 500 error response I can't figure out
anyone have an idea?
6 replies
TtRPC
Created by kevinka on 7/12/2023 in #❓-help
how can I globally set a "middleware" callback for all onErrors on my React Query calls?
5 replies
TtRPC
Created by jaiv on 7/14/2023 in #❓-help
Keep getting 500 error response I can't figure out
6 replies
TtRPC
Created by jaiv on 11/2/2022 in #❓-help
Can you chain middlewares in v10?
you still get access to a typed context in middlewares? its also not that bad, if you want middlewares shared by all procedures just add all of them to one procedure that you use by default, use a raw procedure if you need more customization. i use a ratelimited procedure by default and if i dont want it i use the normal one
5 replies
TtRPC
Created by jaiv on 11/2/2022 in #❓-help
Can you chain middlewares in v10?
very cool
5 replies
TtRPC
Created by jaiv on 11/2/2022 in #❓-help
Can you chain middlewares in v10?
5 replies
TtRPC
Created by jaiv on 10/13/2022 in #❓-help
SyntaxError Unexpected token u in JSON at position 0 with mutations
i had a middleware that was assuming requests were queries and parsing the input json. that caused issues when using mutations
7 replies
TtRPC
Created by jaiv on 10/13/2022 in #❓-help
SyntaxError Unexpected token u in JSON at position 0 with mutations
7 replies
TtRPC
Created by jaiv on 10/13/2022 in #❓-help
SyntaxError Unexpected token u in JSON at position 0 with mutations
7 replies
TtRPC
Created by jaiv on 10/13/2022 in #❓-help
SyntaxError Unexpected token u in JSON at position 0 with mutations
7 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
@oscartbeaumont after more debugging I found that the error was being caused by not setting up an env variable on vercel
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
if i'm stuck on this though i could make some repo
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
not oss
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
in dev and build mode
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
yes
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
yea i have no clue, nothing really changed from the commit that worked to the commit that broke it
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
maybe since it's returning a page idk
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
25 replies
TtRPC
Created by jaiv on 10/14/2022 in #❓-help
Queries break when in production on Vercel; work on localhost
i found a commit where it all works, the one right after is what has things break. later today ill look at the difference
25 replies