Add total count to vendors connection
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -437,9 +437,13 @@ type Vendor implements Node {
|
||||
countries: [CountryCode!]!
|
||||
}
|
||||
|
||||
type VendorConnection {
|
||||
type VendorConnection
|
||||
@goModel(
|
||||
model: "go.probo.inc/probo/pkg/server/api/trust/v1/types.VendorConnection"
|
||||
) {
|
||||
edges: [VendorEdge!]!
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Int! @goField(forceResolver: true)
|
||||
}
|
||||
|
||||
type VendorEdge {
|
||||
|
||||
Reference in New Issue
Block a user