is this a bad idea? Conditionally get User data depending on privacy field
it's a service used by trpc, the full select for a User is quite long with some nested types. Want to keep type consistency, just doesn't seem to optimal.
1 Reply
hmm reading about this now https://www.prisma.io/docs/concepts/components/prisma-client/client-extensions/query