We will now have a single source of truth to get the dialect, which is the adapter.
For Prisma we read it from the prisma.schema file, for all the others it's a simple string returned from adapter.getDialect().
Note: it's important that we have migration step in the changelog because we will now expect to find a "adapter": "" key in .snaplet/config.json
We will now have a single source of truth to get the dialect, which is the adapter. For Prisma we read it from the
prisma.schema
file, for all the others it's a simple string returned fromadapter.getDialect()
.Note: it's important that we have migration step in the changelog because we will now expect to find a
"adapter": ""
key in.snaplet/config.json