You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone managed to add generating a typed _count optional field for entities generated by this tool?
I've been trawling the forks of this repo, and haven't seen anything to support this so far.
It would be really nice to have this feature. I want to attempt this on my fork, but I need some pointers.
The Prisma Client generates typing for the _count field as a part of [model]GetPayload. I'm not sure how to go about incorporating this into the final entity type generation.
Any pointers in the right direction are absolutely welcome. Thanks in advance!
The text was updated successfully, but these errors were encountered:
Has anyone managed to add generating a typed
_count
optional field for entities generated by this tool?I've been trawling the forks of this repo, and haven't seen anything to support this so far.
It would be really nice to have this feature. I want to attempt this on my fork, but I need some pointers.
The Prisma Client generates typing for the
_count
field as a part of[model]GetPayload
. I'm not sure how to go about incorporating this into the final entity type generation.Any pointers in the right direction are absolutely welcome. Thanks in advance!
The text was updated successfully, but these errors were encountered: