ad6025
ad6025
@SevInf @hayes i tried the [runtimeDataMdel] from the edge.js that is generated for the prisma client, and pothos works with this. @SevInf pothos this will work with [runtimeDataMdel]. If you...
@SevInf i tried the [runtimeDataMdel] from the edge.js that is generated for the prisma client, and pothos works with this. can we get the edge to allow access to Prisma.dmmf...
**_NOTE: there are 2 related issues on why the 2 files: [query_engine_bg.js] & [query_engine_bg.wasm] are missing from the directory [\node_modules\.prisma\client]_** - https://github.com/prisma/prisma/issues/23600 ==> (same root cause these 2 files not...
@Jolg42 yes., cloudflare/postgres was working using kysely orm and pg driver. ==> Im trying to switch to prisma on cloudlfare. yes. Im using vitest. (but im not using the new...
@Jolg42 i just deployed to cloudflare worker, and there is an error: (i dont have the specific error, but its uncaught error because of the same low-level PrismaClient error above....
@Jolg42 I found the problem. when the --> provider = "**postgresql**", this works. ==> (the 2 missing files are copied query_engine_bg.js ;query_engine_bg.wasm when the --> provider = "**cockroachdb**", this does...
@Jolg42 @janpio Ok.. so the problem is the "logic" for it to know to use PostgreSQL one. => if you change the provider = cockroachdb ==> the files wont get...
@janpio @Jolg42 you can use your own example: https://github.com/prisma/ecosystem-tests/tree/dev/driver-adapters-wasm/pg-cf-basic change the provider to "cockroachdb", and the 2 missing files will not get produced 
i have tested with your example, and i can confirm that this is the issue.
@janpio @Jolg42 as per your request, I am closing this ticket and i created new ticket: https://github.com/prisma/prisma/issues/24475 to be clear the provider = "postgresql" does work, the provider = "cockroachdb"...