Join Slack
Powered by
Is it possible to use nested queries with TypeScri...
# prisma-client
f
friebetill
04/15/2019, 11:52 AM
Is it possible to use nested queries with TypeScript and prisma-client-lib? Previously with prisma-binding, it was possible to pass the info variable to the binding, but the prisma-client-lib lacks this capability.
h
Harshit
04/15/2019, 4:01 PM
There is a better way to do this using type resolvers. See:
https://www.prisma.io/tutorials/a-guide-to-common-resolver-patterns-ct08/#scenario:-implementing-relations-with-prisma-client
f
friebetill
04/15/2019, 11:12 PM
Wow, thank you so much, it was exactly the solution I was looking for for hours. 👍
6
Views
Open in Slack
Previous
Next