Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Enable required pagination on connections

Marcin Gębala21f17e34f4e0
diff --git a/saleor/settings.py b/saleor/settings.py
index 586a9f0872..4ce645fce5 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -583,3 +583,8 @@ PAYMENT_GATEWAYS = {
}
}
}
+
+GRAPHENE = {
+ 'RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST': True,
+ 'RELAY_CONNECTION_MAX_LIMIT': 100
+}