This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
No more *GetSelectPayload exported by the client #564
Labels
kind/docs
A documentation change is required.
kind/question
Developer asked a question. No code changes required.
Hey,
Before installing
@prisma/client@2.0.0-alpha.904
andprisma2@2.0.0-alpha.904
, I used to get a<Collection>GetSelectPayload
for every model.I used to use it to annotate the arguments to my functions like so:
Now,
@prisma/client
doesn't have any export calledUserGetSelectPayload
. So I tried this approach:But this doesn't work and I get the following errors, which are fairly understandable:
My question is, is there any replacement for
*GetSelectPayload
?The text was updated successfully, but these errors were encountered: