You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable query to PrismaClient client instance in src/server/db.ts, inside production array.
Run the following commands
yarn run build
yarn run dev
Attempt social login and check console.
Thus far I've only integrated Google login in next auth config. Built the app with query param in PrismaClient. Ran it and saw duplicating sql queries in console.
Could potentially be Prisma adapter issue. Not sure.
triageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
1 participant
Converted from issue
This discussion was converted from issue #7181 on April 07, 2023 11:03.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Reproduction URL
https://github.com/t3-oss/create-t3-app
Describe the issue
Seeing duplicating queries being logged (and ran, probably) into the console after running a production build.
First time login via google provider:
Second time login via google provider
How to reproduce
query
toPrismaClient
client instance insrc/server/db.ts
, inside production array.Thus far I've only integrated Google login in next auth config. Built the app with query param in PrismaClient. Ran it and saw duplicating sql queries in console.
Could potentially be Prisma adapter issue. Not sure.
Expected behavior
It shouldn't make duplicate requests
Beta Was this translation helpful? Give feedback.
All reactions