Skip to content

User description mentions is_following #18006

@jsoref

Description

@jsoref

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/graphql/reference/objects#user

What part(s) of the article would you like to see updated?

Name Description
... ...
isFollowingViewer (Boolean!) Whether or not this user is following the viewer. Inverse of viewer_is_following.
... ...
viewerIsFollowing (Boolean!) Whether or not this user is followed by the viewer. Inverse of is_following_viewer.

I believe these should be viewerIsFollowing and isFollowingViewer respectively.

Additional information

I'm not sure if there are other instances of this, but I'd encourage someone to look.

My guess is that these reflect the internal Ruby conventions:

The Ruby convention is to use underscores to separate words in a multiword method or variable name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamgraphqlContent related to GraphQLwaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions