lucia-auth/lucia

[Bug]: getUserAttributes doesn't include relations field of the user

Closed this issue · 1 comments

Package

​@lucia-auth/adapter-prisma

Describe the bug

getUserAttributes isnt including the relations field of the user for in my case notifcations, flags accounts etc

prisma.schema
Cursor_gPAntJHmX9

auth.ts
Cursor_O7dL0vJhoT

lucia.d.ts
Cursor_6KH4RwBHpo

logs:
AsPowerBar_Bni7E1eAba

i found this comment #1411 (comment) by @pilcrowonpaper so i think it a limiation but i wasn't sure so i wanted to open this issue

This is expected behavior. It's not possible for the adapter to figure out what relations exist.