store
Creates a new user or updates an existing user’s profile information. This mutation is typically called after authentication to store or update user details.User’s email address
User’s display name
URL to the user’s profile image
The ID of the created or updated user record
Behavior
- Requires authentication via
ctx.auth.getUserIdentity() - If user exists (matched by
tokenIdentifier), updates their profile - If user doesn’t exist, creates a new user record
- Returns the user’s database ID in both cases
getStatus
Retrieves the current authenticated user’s profile information.Behavior
- Returns
nullif user is not authenticated - Returns the full user object if authenticated
- Uses authentication context to find the user by
tokenIdentifier
