update to Prisma v7 - #253
Conversation
|
prisma can cause problems with SolidStart when you use it in a server function that's declared in the same file as some client code. I wrote a custom babel plugin for this that we're using in production that I can add to this template in a follow up PR |
674f4eb to
83005f6
Compare
| } | ||
| } | ||
|
|
||
| export default defineConfig({ |
There was a problem hiding this comment.
is this an out of the box prisma.config.ts or a custom one?
There was a problem hiding this comment.
this is a custom one, this was a while ago though so I don't remember what my thinking was. sorry about that, will take a look
There was a problem hiding this comment.
so the default prisma config is apparently this
import "dotenv/config";
import { defineConfig, env } from "prisma/config";
export default defineConfig({
schema: "prisma/schema.prisma",
migrations: {
path: "prisma/migrations",
},
datasource: {
url: env("DATABASE_URL"),
},
});but I think this gave me problems, I can try and rediscover what these problems were
There was a problem hiding this comment.
i think its fine. Looks like there is conflicts now
There was a problem hiding this comment.
I've rebased and applied the changes to both solid-start-v{1,2}/with-prisma
83005f6 to
b4e1844
Compare
|
Dependency limit exceeded — report not shown. This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report. Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard. Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account. |
No description provided.