Get username in user session with customsession plugin
Hey is it possible to get the username and/or displayUsername put into the customsession? As of right now the user object returned in the async function of the customSession plugin is only the basic user object, no additional fields present, I want to include the username in this session. I know I can make a db call with the users id to get the username, but this feels redundant, as presumably better-auth makes a call to get the user to begin with, so making 2 calls would be wasteful. I already tried the docs’ suggestion of making the options as a separate object and passing it to the customSession so user and session would infer plugin fields, but it did not seem to do so. Any ideas?