Ability to pass additional data to auth context.
Current work around is to either store the userProfileId on the client context, and pass that along with every query or mutation, or what we are instead doing is using authUserId as the main relationship key everywhere.
The ideal scenario is what we had before, where when a user is created, we store the userProfileId is Clerk's privateMetadata or publicMetadata, then pass that along with session claims, and use some of the values from session claims to construct the user identity. So now, every authenticated call already has the db userProfileId, role, userType, etc. And we can go about using it in all queries and mutations without first reaching to the db to fetch the userProfile by the Clerk authUserId for every single request.
Would love any suggestions on what you all are doing instead. Or if I am missing something.
Thank you.
