Skip to main content

viewer

viewer is the current logged in User. If no user is currently logged in, it will return null. This is the only nullable field that can be returned that depends on the authentication state that will not throw an error.

viewer: User

Type

User object

User is someone that leaves Comments, and logs in.