Add risks totalCount support

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-06-09 20:58:49 -07:00
parent 6c96590332
commit c4e6de922c
7 changed files with 317 additions and 46 deletions

View File

@@ -1162,7 +1162,11 @@ type DocumentEdge {
node: Document!
}
type RiskConnection {
type RiskConnection
@goModel(
model: "github.com/getprobo/probo/pkg/server/api/console/v1/types.RiskConnection"
) {
totalCount: Int! @goField(forceResolver: true)
edges: [RiskEdge!]!
pageInfo: PageInfo!
}