You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when resolving user with appId and userId, aka backend user:
do a term query on appId and appUserId (could also query on id to be appId_sha(userId) but there might be collision)
if the user doesn't exist, create a new user with id being appId_sha(userId)[iii] and randomly generated name and avatar.
in case of collision, generate another id somehow (since collision is unlikely, collision prevention mechanism will be tracked separately in user id collision prevention #222 )
unit tests
The text was updated successfully, but these errors were encountered:
when resolving
user
withappId
anduserId
, aka backend user:appId
andappUserId
(could also query on id to beappId_sha(userId)
but there might be collision)id
beingappId_sha(userId)
[iii] and randomly generated name and avatar.unit tests
The text was updated successfully, but these errors were encountered: