asliwinski11mo ago

Is there a way to alter the query key generated by trpc?

I want to pass a boolean flag (initial) to the backend saying if it's a first call of a given procedure. I don't want trpc to create two separate queries because of this. Is there a way to remove this initial parameter from the generated query key? Or is there perhaps a better way to tell the backend it's the first fetch?
0 Replies
No replies yetBe the first to reply to this messageJoin