Skip to content

Missing author.login when inserting comments #1

@johnnyoshika

Description

@johnnyoshika

The author's login isn't being fetched, so during the optimistic UI rendering and before the server responds to the addComment mutation, the author's login is displayed as me.

During optimistic UI:

image

After server response

image


This issue was highlighted in this PR: the-road-to-graphql/react-graphql-github-apollo#29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions