No datasource property
Why is there no datasource property? I'm trying to migrate to prisma v7

5 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai channel awaits if you're curious!What's the full file import?
for instance
import { defineConfig, env } from 'prisma/config';after using
pnpm why prisma I found the issue, turns out I depend on https://www.npmjs.com/package/prisma-json-types-generator and they depend on prisma v6
seems like I'll need to ditch it or cotinue on v6 as Prisma itself does not want anything to do with that library
https://github.com/arthurfiorette/prisma-json-types-generator/issues/542GitHub
An Important Update on Maintenance · Issue #542 · arthurfiorette/...
To everyone who uses and supports this project, thank you. I'm incredibly proud that prisma-json-types-generator has become the most downloaded prisma community generator, with over 142,000 wee...
unfamiliar with the story behind primsa-json-types-generator, will look into it
thanks! at least re-opening this issue closed due to "inactivity" would be nice
https://github.com/prisma/prisma/issues/27382