Skip to content

Invalid PullRequestComment InReplyTo JSON tag #948

@emersonwood

Description

@emersonwood

The PullRequestComment InReplyTo JSON tag mismatches the one returned from the API, so the value is always encoded as nil.

The current tag is in_reply_to:

InReplyTo *int64 `json:"in_reply_to,omitempty"`

Whereas the correct one is in_reply_to_id. Relevant docs: https://developer.github.com/v3/pulls/comments/#get-a-single-comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions