trpc
  • Peer

    Peer

    10/30/2022, 11:11 PM
    ayo fellas 👋
  • Alex / KATT

    Alex / KATT

    11/01/2022, 9:02 AM
    yoyo! let’s use this channel to communicate between trpc <-> cal
  • Alex / KATT

    Alex / KATT

    11/01/2022, 9:02 AM
    feel free to
    @
    me as otherwise I will likely miss the messages
  • Alex / KATT

    Alex / KATT

    11/01/2022, 9:03 AM
    @Julius Marminge has agreed at taking a stab on helping with the “full” migration to v10 & i will be assisting him from the sidelines 🙂
  • Alex / KATT

    Alex / KATT

    11/01/2022, 9:04 AM
    you might also be wondering on the news around RSC and how that impacts tRPC, I’m working hard on finding ways how it will work, it’s quite hard because we don’t know much about the mythical “cache API” that is coming up
  • Peer

    Peer

    11/01/2022, 10:04 AM
    @zomars @Emrysal @Hariom Balhara 👋
  • j

    Julius Marminge

    11/02/2022, 12:11 AM
    Hey @Peer would you like to add me to the repo so that I can run CI on the upcoming PR? GitHub:
    juliusmarminge
  • j

    Julius Marminge

    11/02/2022, 12:59 PM
    Draft PR is up. I’ll continue on Friday: https://github.com/calcom/cal.com/pull/5332
  • j

    Julius Marminge

    11/04/2022, 11:22 AM
  • Alex / KATT

    Alex / KATT

    11/04/2022, 6:53 PM
    another thing that might be interesting for cal to enable -- this is what i do myself at work to simply stop worrying about what is in the client cache https://trpc.io/docs/v10/useContext#invalidate-full-cache-on-every-mutation
  • j

    Julius Marminge

    11/10/2022, 12:57 PM
    Hey, conflicts are stacking up. Would be nice to get this merged soon
  • zomars

    zomars

    11/10/2022, 4:27 PM
    Will take a stab today
  • Alex / KATT

    Alex / KATT

    11/11/2022, 12:11 PM
    @zomars I think cal can leverage suspense & get rid of those annoying
    <DefaultQueryCell
    -things 🙂
  • Alex / KATT

    Alex / KATT

    11/11/2022, 12:15 PM
    also I think it could be a good to split up cal into 2 apps • 1 for the public booking pages, e.g.
    /peer
    ◦ start using app layout ◦ start leveraging RSC (if you still want to call tRPC underneath we can probably help you with that) ◦ deploy on edge runtime (if Prisma supports that somehow?) ◦ should make the whole experience feel a lot faster • 1 for the dashboard -- full SPA, ignore gSSP/RSC etc (will likely just complicate it)
  • Peer

    Peer

    11/11/2022, 1:52 PM
    that looks awesome
  • Alex / KATT

    Alex / KATT

    11/30/2022, 8:25 PM
    how's trpc v10 treating y'all? anything that you're struggling with?
  • Alex / KATT

    Alex / KATT

    11/30/2022, 8:25 PM
    anything we can help with?
  • zomars

    zomars

    12/02/2022, 7:23 PM
    It's been great to far! We're in the middle on concentrating all logic there so we can create an SDK and use it un public API as well
  • zomars

    zomars

    12/02/2022, 7:23 PM
    Also I think @leog is working on the SDK side
  • leog

    leog

    12/03/2022, 5:06 PM
    Yeah, I actually asked @Alex / KATT about it, he suggested we could use trpc-openapi for our existing queries so then we can generate APIs accordingly and from those we can generate the SDK using available generators
  • leog

    leog

    12/03/2022, 5:07 PM
    Should I focus on standardizing our queries to be the base of our APIs to start that process? WDYT @zomars