hxsggsz🤠
hxsggsz🤠
TTCTheo's Typesafe Cult
Created by hxsggsz🤠 on 3/13/2024 in #questions
how to do server integration tests
I'm trying to do some integration tests in my routes and the T3 docs are not up to date with the new way the app routes config the tRPC including next auth session, do you guys have any example?
2 replies
TTCTheo's Typesafe Cult
Created by hxsggsz🤠 on 7/4/2023 in #questions
Optimistic updates type error [Symbol.iterator]()
i'm trying to use optimistic updates on my mutations but i'm getting this type error ´´´(GetResult<{ id: string; createdAt: Date; name: string; backgroundImage: string; userId: string; }, unknown> & {})[] | undefined' must have a 'Symbol.iterator' method that returns an iterator.``` i literally just copy and paste as the docs and i don't now what to do
2 replies