Skip to content

nurul3101/typedsql-bug

Repository files navigation

This is a reproduction based on instructions from this comment: prisma/prisma#25106 (comment)


  1. Install Dependencies: npm install
  2. Add a .env.development.local file with database URL:
DATABASE_URL_TEST1="postgresql://test1:test1password@localhost:5432/test-db?schema=test1"
  1. Run command: npm run prisma:test1:migrate
  2. Run command: > npm run prisma:test1:generate
  3. Start Server: npm run dev
  4. Go to URL: http://localhost:3000/singleton/a - No Error
  5. Go to URL: http://localhost:3000/singleton/b - Should see the Error
Argument `query` is missing.
    at Dn (./src/lib/prisma/generated/test1/runtime/library.js:5964:11)
    at Mn.handleRequestError (./src/lib/prisma/generated/test1/runtime/library.js:6762:13)
    at Mn.handleAndLogRequestError (./src/lib/prisma/generated/test1/runtime/library.js:6749:18)
    at Mn.request (./src/lib/prisma/generated/test1/runtime/library.js:6729:18)
    at async l (./src/lib/prisma/generated/test1/runtime/library.js:7397:25)
    at async $$ACTION_0 (./src/actions/convert/singleton.ts:18:20)
digest: "1148600400"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors