You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeChangesstruct {
LabelChangesLabelChanges`json:"labels"`
}
// LabelChanges contains changes in labels associated with a GitLab issue or MRtypeLabelChangesstruct {
Previous []Label`json:"previous"`Current []Label`json:"current"`
}
// Label contains all of the GitLab label informationtypeLabelstruct {
IDint64`json:"id"`Titlestring`json:"title"`Colorstring`json:"color"`ProjectIDint64`json:"project_id"`CreatedAtcustomTime`json:"created_at"`UpdatedAtcustomTime`json:"updated_at"`Templatebool`json:"template"`Descriptionstring`json:"description"`Typestring`json:"type"`GroupIDint64`json:"group_id"`
}
I propose that this should be marked as (excuse my poor Golang):
EmilLuta
changed the title
MergeRequestEventPayload has poor unmarshalling for changes
MergeRequestEventPayload has improper unmarshalling for changes
Nov 12, 2019
By default, the changes field of the JSON will look something like this (according to: https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#merge-request-events):
The current format looks as it follows:
I propose that this should be marked as (excuse my poor Golang):
Unless objections, I'll be providing a PR for this.
Thanks in advance!
The text was updated successfully, but these errors were encountered: