make session.user.name null
Hi I am porting my app to better auth and I currently use user.firstName + user.lastName instead of user.name
I managed to add the fields succesfully to the better auth setup and they are properly typed, the issue is since I am not using user.name I would like for it to be typed as null or undefined at least. I was wondering if that was possible of if I need to manually cast the types.
heres are the backend and frontend current implementations:
0 Replies