Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add GraphQL object type descriptions
Jakub Draganekc3a33911d188
diff --git a/saleor/graphql/checkout/types.py b/saleor/graphql/checkout/types.pyindex 8f0bab52f6..01e8dc1a2c 100644--- a/saleor/graphql/checkout/types.py+++ b/saleor/graphql/checkout/types.py@@ -18,10 +18,23 @@ class GatewayConfigLine(graphene.ObjectType):field = graphene.String(required=True, description="Gateway config key.")value = graphene.String(description="Gateway config value for key.")+ class Meta:+ description = "Payment gateway client configuration key and value pair."+class PaymentGateway(graphene.ObjectType):name = graphene.String(required=True, description="Payment gateway name.")- config = graphene.List(graphene.NonNull(GatewayConfigLine), required=True)+ config = graphene.List(+ graphene.NonNull(GatewayConfigLine),+ required=True,+ description="Payment gateway client configuration.",+ )++ class Meta:+ description = (+ "Available payment gateway backend with configuration "+ "necessary to setup client."+ )class CheckoutLine(CountableDjangoObjectType):