Add state events to the GraphQL API
I have a problem with the GitLab GraphQL API. This request:
Click to expand
{
project(fullPath: "gitlab-org/gitlab") {
id
mergeRequest(iid: "133582") {
id
iid
state
title
createdAt
updatedAt
webUrl
notes(first: 100) {
pageInfo {
hasNextPage
endCursor
}
nodes {
id
createdAt
internal
author {
id
username
name
publicEmail
commitEmail
webUrl
}
body
systemNoteMetadata {
action
}
url
}
}
}
}
}
For a while gave out information about state changes as well. Example:
Now, such events are not displayed in this API. Example:
In some cases, the link to the note is null altogether. Example:
At the same time List project merge request state events via REST gives this information as before. In connection with this questions:
- This change in GraphQL API behavior was planned or it is a bug.
- Is there an alternative to REST List project merge request state events in the form of GraphQL? If so, what is it?
- Or maybe there is a similar API for states, but in a bulk view with the ability to specify a time period.
Edited by Nikolay Shmakov