Content pfp
Content
@
0 reply
0 recast
0 reaction

Tyler PashigianšŸŽ© pfp
Tyler PashigianšŸŽ©
@tylerpashigian
Does anyone know a better way to generate this prisma type based on this Recipe schema that includes nested schemas? Feels weird I have to include them like this. Would like to just import { type Recipe } and have those inherently included
3 replies
3 recasts
6 reactions

jtgi pfp
jtgi
@jtgi
That’s the way basically. In practice, I haven’t found it a big deal. A lot of the time it can just be inferred from the db call itself anyway.
1 reply
0 recast
0 reaction

Tyler PashigianšŸŽ© pfp
Tyler PashigianšŸŽ©
@tylerpashigian
Gotcha, appreciate the response. Just felt like I was missing something but this seems to be what everyone is saying
0 reply
0 recast
0 reaction