xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.37k stars 940 forks source link

add missing fields in Note struct #1866

Closed cenkalti closed 7 months ago

cenkalti commented 7 months ago

https://docs.gitlab.com/ee/api/notes.html#issues

Example issue note (comment) from my GitLab instance:

{
  "id": 3,
  "type": null,
  "body": "Comment 2",
  "attachment": null,
  "author": {
    "id": 1,
    "username": "root",
    "name": "Administrator",
    "state": "active",
    "locked": false,
    "avatar_url": "https://secure.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
    "web_url": "https://gitlab.example.com/root"
  },
  "created_at": "2024-01-15T22:32:55.785Z",
  "updated_at": "2024-01-15T22:32:55.785Z",
  "system": false,
  "noteable_id": 3,
  "noteable_type": "Issue",
  "project_id": 4,
  "resolvable": false,
  "confidential": false,
  "internal": false,
  "noteable_iid": 1,
  "commands_changes": {}
}
cenkalti commented 7 months ago

@svanharmelen thanks for swift response. Is it possible for you to release a new tag version?

svanharmelen commented 7 months ago

Released v0.96.0