ippo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by ippo on 8/22/2023 in #questions
fetch failed - error on npm start on production
fixed the problem:
fetch() was missing inside httpBatchLink
this was missing:
3 replies
TTCTheo's Typesafe Cult
•Created by ippo on 8/21/2023 in #questions
.env - adding global environment variable files
3 replies
TTCTheo's Typesafe Cult
•Created by ippo on 8/16/2023 in #questions
T3 BETA - how to query on client side?
sure, REST, GraphQL, gRPC
9 replies
TTCTheo's Typesafe Cult
•Created by ippo on 8/16/2023 in #questions
T3 BETA - how to query on client side?
and is withTRPC hook required?
(in the end it is just a REST call)
9 replies
TTCTheo's Typesafe Cult
•Created by ippo on 8/16/2023 in #questions
T3 BETA - how to query on client side?
@fleetadmiraljakob how can I do a lazy request so I can do a request or mutation on a button click
9 replies
TTCTheo's Typesafe Cult
•Created by ippo on 8/16/2023 in #questions
T3 BETA - how to query on client side?
now I have to test
9 replies
TTCTheo's Typesafe Cult
•Created by ippo on 8/16/2023 in #questions
T3 BETA - how to query on client side?
fixed it by copying the utils folder from the 7.18 version 🙂
9 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
(even if you can control the return values with arguments)
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
so for each view you create a custom endpoint?
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
🤔
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
hmm...
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
in your frontend, while using tRPC, you never passed an argument to select specific fields 🙂 ?
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
this is really hard to see, because in the end you have function that you call and that accepts inputs from your side
so in my frontend, what speaks against an argument where I define the fields I want from the backend OR the relations that I want from the backend?
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
no no, I want to give the user the option to search for data and also select specific things AND to fetch in one view 3 fields and in other views 42 fields of the same entity
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
I do not see that because you can express optional values in TS
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 6/5/2023 in #questions
Query tRPC the right way
my question is more how to use tRPC correctly when using arguments to control the query result, like selecting fields or relations
22 replies
TTCTheo's Typesafe Cult
•Created by ippo on 5/22/2023 in #questions
tRPC - Express - Next.js boilerplate
🤔
7 replies
TTCTheo's Typesafe Cult
•Created by ippo on 5/22/2023 in #questions
How to use installed middlewares in tRPC?
I don't need next?
not getting why 🙂
Next.js is awesome and allows you to do many things that I am familiar with.
16 replies
TTCTheo's Typesafe Cult
•Created by ippo on 5/22/2023 in #questions
How to use installed middlewares in tRPC?
hmm
16 replies
TTCTheo's Typesafe Cult
•Created by ippo on 5/22/2023 in #questions
How to use installed middlewares in tRPC?
it looks like we have to use a custom next.js server to get next.js and express with trpc
16 replies