deep questions t3 prisma client doesn’t seem to update
My prisms client doesn’t seem to show the array relationships which are present in the prisms schema as shown below. I have tried restarting vscode . Installing prisma client and generating types nothing seems to works . Am I missing something ? I am looking for certificates types to be present however it is missing in the first screenshot . I need these types in a component which is using getServerSideProps in nextjs.
1 Reply
Prisma makes separate types for relations I believe. If you use trpc and query with relations and export that then you can use the RouterOutputs type helper.
Also worth removing the node modules folder and re installing so it generates nee types