Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> Testing the API. I'm trying to understand if, for the GH backend, "comments body" and "issue body" are the same. I mean, considering what I'm looking through the API, they are not. #2683

Open
iron-eater opened this issue Jul 3, 2023 · 1 comment

Comments

@iron-eater
Copy link

          > Testing the API. I'm trying to understand if, for the GH backend, "comments body" and "issue body" are the same. I mean, considering what I'm looking through the API, they are not.

234234

Originally posted by @iron-eater in #1347 (comment)

@junzuijifei
Copy link

In the context of GitHub's API, "comments body" and "issue body" are not the same.

  1. "Issue body": This typically refers to the main description or content of an issue in a GitHub repository. When you create or edit an issue, you can provide a description that explains the problem, feature request, or task in detail. This is the main text associated with the issue.
  2. "Comments body": Comments in the context of GitHub refer to the individual responses or messages left on issues, pull requests, or commits. Each comment has its own body or text content, which can be used for discussions, questions, feedback, and so on.
    These two types of content serve different purposes. The "issue body" is the initial description of the issue, while "comments body" are responses and discussions related to that issue. They are distinct and stored separately in the GitHub API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@iron-eater @junzuijifei and others