diff options
Diffstat (limited to 'graphql/models')
-rw-r--r-- | graphql/models/gen_models.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphql/models/gen_models.go b/graphql/models/gen_models.go index a59288ec..aacb0d92 100644 --- a/graphql/models/gen_models.go +++ b/graphql/models/gen_models.go @@ -42,10 +42,9 @@ type OperationConnection struct { TotalCount int `json:"totalCount"` } type OperationEdge struct { - Cursor string `json:"cursor"` - Node OperationUnion `json:"node"` + Cursor string `json:"cursor"` + Node Operation `json:"node"` } -type OperationUnion interface{} type PageInfo struct { HasNextPage bool `json:"hasNextPage"` HasPreviousPage bool `json:"hasPreviousPage"` |