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
8 lines
146 B
GraphQL
8 lines
146 B
GraphQL
# Just the data that should be present for any type of Actor.
|
|
fragment actorInfo on Actor {
|
|
__typename
|
|
...nodeInfo
|
|
login
|
|
url
|
|
avatarUrl
|
|
} |