mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gh] Remove unused data from pullRequestInfo fragment
GitOrigin-RevId: cbda6a4959dddb311cedac4647765d0f508eb9e9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31f3fd175a
commit
f61fd6c1cc
@@ -10,11 +10,6 @@ fragment pullRequestInfo on PullRequest {
|
||||
|
||||
reviewDecision
|
||||
|
||||
baseRef {
|
||||
refUpdateRule {
|
||||
...refUpdateRule
|
||||
}
|
||||
}
|
||||
baseRefName
|
||||
baseRefOid
|
||||
baseRepository {
|
||||
|
||||
-2
@@ -40,8 +40,6 @@ class GHPullRequest(id: String,
|
||||
assignees, labels, reviewRequests, reviewThreads,
|
||||
reviews, mergeable, viewerCanUpdate, viewerCanReact, viewerDidAuthor, reactions) {
|
||||
|
||||
data class BaseRef(val refUpdateRule: GHRefUpdateRule?)
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (this === other) return true
|
||||
if (other !is GHPullRequest) return false
|
||||
|
||||
+2
-1
@@ -6,7 +6,6 @@ import com.intellij.collaboration.api.dto.GraphQLConnectionDTO
|
||||
import com.intellij.collaboration.api.dto.GraphQLCursorPageInfoDTO
|
||||
import com.intellij.collaboration.api.dto.GraphQLFragment
|
||||
import org.jetbrains.plugins.github.api.data.GHRefUpdateRule
|
||||
import org.jetbrains.plugins.github.api.data.pullrequest.GHPullRequest.BaseRef
|
||||
|
||||
@GraphQLFragment("/graphql/fragment/pullRequestMergeability.graphql")
|
||||
data class GHPullRequestMergeabilityData(
|
||||
@@ -23,4 +22,6 @@ data class GHPullRequestMergeabilityData(
|
||||
pageInfo: GraphQLCursorPageInfoDTO,
|
||||
nodes: List<GHPullRequestCommitWithCheckStatuses> = listOf()
|
||||
) : GraphQLConnectionDTO<GHPullRequestCommitWithCheckStatuses>(pageInfo, nodes)
|
||||
|
||||
data class BaseRef(val refUpdateRule: GHRefUpdateRule?)
|
||||
}
|
||||
Reference in New Issue
Block a user