ReviewerID() only accepts int or string despite most apis transitioning to int64 in 1.0.0
After switching to 1.0.0 the following snippet of my code broke:
mergeRequests, _, err := a.client.MergeRequests.ListMergeRequests(&gitlab.ListMergeRequestsOptions{
Scope: gitlab.Ptr("all"),
ReviewerID: gitlab.ReviewerID(a.getCurrentUser().ID),
})
Because in 1.0.0 getCurrentUser switched to int64 meanwhile ReviewerID panics unless an int or string is passed to it
Edited by 🤖 GitLab Bot 🤖