Conversation
this change is required for KakaoProvider
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
|
Thanks, but it was a deliberate choice to forward all properties to the adapter as-is in For now, you can either extend the Prisma schema to include the extra properties or apply the filtering on the adapter methods in your app. Tip, you can override individual methods fairly easily, since an ...
const p = PrismaClient()
const adapter: Adapter = {
...PrismaAdapter(p),
linkAccount: ({filteredProp: _, ...data}) =>
p.account.create({ data }) as unknown as AdapterAccount,
}
}
export default NextAuth({
adapter,
...
})As for |
|
Thanks, we decided to filter out extra properties. my understanding:
is it correct? :) plus, by any chance, can I know whether something is deliberate choice or not? |
this change is required for KakaoProvider
☕️ Reasoning
🧢 Checklist
🎫 Affected issues
Please scout and link issues that might be solved by this PR.
Fixes: #6708
📌 Resources
etc
I even not sure this is right, I need help