From 052b3cb83c2e8237146d81386d2cfde9f1a68ee7 Mon Sep 17 00:00:00 2001 From: Wu Sheng Date: Wed, 18 May 2022 16:19:37 +0800 Subject: [PATCH] Remove total in query trace and log list. --- common.graphqls | 4 ++-- log.graphqls | 1 - trace.graphqls | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/common.graphqls b/common.graphqls index 0d7ae09..bb3e0a7 100644 --- a/common.graphqls +++ b/common.graphqls @@ -76,8 +76,8 @@ input Pagination { # pageNum starts in 1, the default is 1. pageNum: Int pageSize: Int! - # default false - needTotal: Boolean + # total is not provided since 9.1.0 + # The client side determines the existing of the next page, which should be TRUE when `size of response list` == `pageSize' } enum Language { diff --git a/log.graphqls b/log.graphqls index 8497567..6781f9b 100644 --- a/log.graphqls +++ b/log.graphqls @@ -17,7 +17,6 @@ # The list of logs type Logs { logs: [Log!]! - total: Int! } # Log info diff --git a/trace.graphqls b/trace.graphqls index 890f98f..5edee31 100644 --- a/trace.graphqls +++ b/trace.graphqls @@ -17,7 +17,6 @@ # The list of traces type TraceBrief { traces: [BasicTrace!]! - total: Int! } # Trace basic info