diff --git a/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs b/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs
index 6159cd8405c8b3..715241653542ba 100644
--- a/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs
+++ b/crates/sui-graphql-rpc/src/extensions/query_limits_checker.rs
@@ -23,9 +23,16 @@ use tokio::sync::Mutex;
use tracing::info;
use uuid::Uuid;
+pub(crate) const CONNECTION_FIELDS: [&str; 2] = ["edges", "nodes"];
+
/// Extension factory for adding checks that the query is within configurable limits.
pub(crate) struct QueryLimitsChecker;
+#[derive(Debug, Default)]
+struct QueryLimitsCheckerExt {
+ validation_result: Mutex