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
@arthurfiorette would really appreciate your guidance on this 🙏
In the minimal reproducible example provided by @Mnigos, everything seems to be done as instructed in the documentation, however in the code blow, coordinates is typed as any:
constsomething=prisma.something.findUnique({where: { id }});// something.coordinates is typed as any
Prerequisites
Versions
I also tried it without
@prisma/extension-accelerate
, but same result.A minimal reproducible example
https://github.com/Mnigos/prisma-json-issue-reproduction
Description
Generated types are not resolved correctly.
prisma-json.ts
lib/prisma.ts
Steps to Reproduce
Just open reproduction repository, install dependencies and generate prisma types.
Expected Behavior
Should not be any.
The text was updated successfully, but these errors were encountered: