tilman0902
tilman0902
TTCTheo's Typesafe Cult
Created by tilman0902 on 4/13/2023 in #questions
looking for a e2e typed CMS ideally with tRPC and directly integrated in Next.js
Will definitely participate in the community call! Would be great if you could share a link with me 🙂
15 replies
TTCTheo's Typesafe Cult
Created by tilman0902 on 4/13/2023 in #questions
looking for a e2e typed CMS ideally with tRPC and directly integrated in Next.js
Looks perfect 🚀🚀🚀
15 replies
TTCTheo's Typesafe Cult
Created by tilman0902 on 4/13/2023 in #questions
looking for a e2e typed CMS ideally with tRPC and directly integrated in Next.js
Sounds great! I will give it a try 🙂 Just to make sure: do I understand you with "fully typed" correctly that in the example https://github.com/payloadcms/next-payload#using-the-local-api the const pages = await payload.find(...) returns with a fully typed object with all the types of it's sub keys? Also regarding the upcoming Postgres Support: Will you also support cloud Postgres sub-variants like Planetscale and Neon.tech?
15 replies
TTCTheo's Typesafe Cult
Created by tilman0902 on 4/13/2023 in #questions
looking for a e2e typed CMS ideally with tRPC and directly integrated in Next.js
Hmm.. having to learn a new query language and also manually validating the result feels a bit cumbersome if there are other systems who can validate and also generate the type from your query automatically. But thanks for you suggestion!
15 replies
TTCTheo's Typesafe Cult
Created by tilman0902 on 4/13/2023 in #questions
looking for a e2e typed CMS ideally with tRPC and directly integrated in Next.js
Hey, thanks for the suggestions. Here my thoughts about these two Options: 1.) keystone 6: Tried keystone 6 already and was not very satisfied by the types. Many return types from keystone context operations are including the any-type and are therefore not e2e typed 2.) strapi is our current solution which we use in many client projects. But we want to move away from it because it heavily relies on codegen for type generation which does not have ideal DX. Also setting up Strapi is quite a hussle and time consuming which we try to minimize for client projects. Would love to see a link to your custom solution! Are you building the admin frontend on top of prisma on your own or are you using an existing project therefore?
15 replies