Alexandr Bordun
09/08/2021, 6:58 AM✔ Generated Prisma Client (3.0.1) to ./node_modules/@prisma/client in 230ms
You can now start using Prisma Client in your code. Reference: <https://pris.ly/d/client>
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
warn Prisma 2.12.0 has breaking changes.
You can update your code with
`npx @prisma/codemods update-2.12 ./`
Read more at <https://pris.ly/2.12>
I’m mostly concerned about Prisma 2.12.0 has breaking changes
anyone knows the reason/solution for this?Alexandr Bordun
09/08/2021, 7:00 AMprisma : 3.0.1
@prisma/client : 3.0.1
Current platform : darwin
Query Engine (Node-API) : libquery-engine 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/libquery_engine-darwin.dylib.node)
Migration Engine : migration-engine-cli 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt 2452cc6313d52b8b9a96999ac0e974d0aedf88db (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : 2452cc6313d52b8b9a96999ac0e974d0aedf88db
Studio : 0.423.0
Preview Features : filterJson, interactiveTransactions
Ryan
09/08/2021, 7:30 AMAlexandr Bordun
09/08/2021, 7:31 AMAlexandr Bordun
09/08/2021, 7:32 AMRyan
09/08/2021, 7:35 AMAlexandr Bordun
09/08/2021, 7:36 AMgenerator client {
provider = "prisma-client-js"
previewFeatures = ["filterJson", "interactiveTransactions"]
}
this is our header of schema.prisma file
rest of the code - nothing extraordinary (we’re not even using aggregations atm)Ryan
09/08/2021, 7:39 AMAlexandr Bordun
09/08/2021, 7:40 AMRyan
09/08/2021, 8:46 AM2.12.0
. Seeding also doesn’t show me this message. If you can reproduce this separately, then feel free to create an issue here 🙂