Types of property createUser are incompatible when adding to User #11472
Unanswered
mirekbartunek
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I add custom properties (verifiedStatus and role) to User, I get an error with the adapter:
Type AdapterUser is not assignable to type Awaitable<AdapterUser> Type AdapterUser is missing the following properties from type AdapterUser: role, verifiedStatus
This is my auth.ts
When I retrieve the session from the client, the custom properties are not there

But those custom properties are present in the db. When I look inside the db logger, the query does not include the custom properties inside select
Thank you for any help!
Beta Was this translation helpful? Give feedback.
All reactions