mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +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
29 lines
339 B
GraphQL
29 lines
339 B
GraphQL
fragment pullRequestInfo on PullRequest {
|
|
...pullRequestInfoShort
|
|
|
|
body
|
|
|
|
author {
|
|
...actor
|
|
}
|
|
createdAt
|
|
|
|
reviewDecision
|
|
|
|
baseRef {
|
|
refUpdateRule {
|
|
...refUpdateRule
|
|
}
|
|
}
|
|
baseRefName
|
|
baseRefOid
|
|
baseRepository {
|
|
...repository
|
|
}
|
|
|
|
headRefName
|
|
headRefOid
|
|
headRepository {
|
|
...repository
|
|
}
|
|
} |