mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
Every Actor subclass that exists as far as I could tell now has a DTO representation and a fragment representation. Sure, there's a lot of common classes, we can reuse actorInfo in some cases, but I somewhat prefer having the specific fragment to reference at the DTO class. Just so that debugging these types of issues is easier later. actor.graphql now directly represents the 5 possible instantiations of Actor. (cherry picked from commit 6392ac4ce579ce48682d8cc288d2edfe5480da86) IJ-CR-151664 (cherry picked from commit bd235370481269453094021d2e03ed91bb48903b) IJ-CR-151664 GitOrigin-RevId: a6cc560b78552c1ca9003975c0b9fb03fd68b69d
55 lines
706 B
GraphQL
55 lines
706 B
GraphQL
fragment pullRequestInfoShort on PullRequest {
|
|
...nodeInfo
|
|
url
|
|
number
|
|
|
|
title
|
|
state
|
|
isDraft
|
|
|
|
author {
|
|
...actor
|
|
}
|
|
createdAt
|
|
updatedAt
|
|
|
|
isReadByViewer
|
|
|
|
assignees(first: 100) {
|
|
nodes {
|
|
...userInfo
|
|
}
|
|
}
|
|
labels(first: 100) {
|
|
nodes {
|
|
...labelInfo
|
|
}
|
|
}
|
|
reviewRequests(first: 100) {
|
|
nodes {
|
|
... on ReviewRequest {
|
|
requestedReviewer {
|
|
...pullRequestReviewer
|
|
}
|
|
}
|
|
}
|
|
}
|
|
reviewThreads(last: 100) {
|
|
nodes {
|
|
isResolved
|
|
isOutdated
|
|
}
|
|
}
|
|
reviews(last: 100) {
|
|
nodes {
|
|
...pullRequestReview
|
|
}
|
|
}
|
|
...reactions
|
|
|
|
mergeable
|
|
|
|
viewerCanUpdate
|
|
viewerCanReact
|
|
viewerDidAuthor
|
|
} |