Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add deprecate message to AppUpdateInput.is_active field
Maciej Korycinskib992ab8d0f59
diff --git a/saleor/graphql/app/mutations.py b/saleor/graphql/app/mutations.pyindex f552a3e949..66b5ea8eaf 100644--- a/saleor/graphql/app/mutations.py+++ b/saleor/graphql/app/mutations.py@@ -18,7 +18,10 @@ from .utils import ensure_can_manage_permissionsclass AppInput(graphene.InputObjectType):name = graphene.String(description="Name of the app.")- is_active = graphene.Boolean(description="Determine if this app should be enabled.")+ is_active = graphene.Boolean(+ description="DEPRECATED: Use the `appActivate` and `appDeactivate` mutations "+ "instead. This field will be removed after 2020-07-31.",+ )permissions = graphene.List(PermissionEnum,description="List of permission code names to assign to this app.",