Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
8 replies
char

Does anyone here use graphQL + trpc?

At first this might seem like a silly question considering they're always positioned as pick one or the other, but in our system we use graphql for some greenfield reads and REST for some GETS + writes

Our backend is in django, and we mostly use nextJS for its frontend. Was wondering if the decision to combine the 2 would sound dumb since we could still benefit from parsing the data we get back from graphql/our django backend with zod + get "E2E types" in the FE
Was this page helpful?