Lee
Lee
Explore posts from servers
TtRPC
Created by Lee on 6/28/2023 in #❓-help
How do I get the queries and mutations list in v10?
Hello, In tRPC v9 I can do:
const queries = Object.keys(appRouter._def.queries);
const mutations = Object.keys(appRouter._def.mutations);
const queries = Object.keys(appRouter._def.queries);
const mutations = Object.keys(appRouter._def.mutations);
I can still do it in v10, but it’s deprecated, so I am wondering if there is a better way to do it in v10? And in v10 the type is changed so I can’t do keyof AppRouter['_def']['queries'] anymore
5 replies
DTDrizzle Team
Created by Lee on 6/18/2023 in #help
Using postgres connection for cockroachdb
Hello everyone, would it be possible to use postgres for cockroachdb? Or is there maybe something that I need to change in order for it to be compatible?
5 replies