Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove old field from scheme
Mira Szewczyk562787219c62
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 64687f964c..f62271eff0 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -3498,7 +3498,7 @@ type Query {translations(kind: TranslatableKinds!, before: String, after: String, first: Int, last: Int): TranslatableItemConnectiontranslation(id: ID!, kind: TranslatableKinds!): TranslatableItemstock(id: ID!): Stock- stocks(filter: StockFilterInput, query: String, before: String, after: String, first: Int, last: Int): StockCountableConnection+ stocks(filter: StockFilterInput, before: String, after: String, first: Int, last: Int): StockCountableConnectionshop: ShopshippingZone(id: ID!): ShippingZoneshippingZones(before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnectiondiff --git a/saleor/graphql/warehouse/schema.py b/saleor/graphql/warehouse/schema.pyindex 0a85d7469e..b3f7537025 100644--- a/saleor/graphql/warehouse/schema.py+++ b/saleor/graphql/warehouse/schema.py@@ -55,10 +55,7 @@ class StockQueries(graphene.ObjectType):id=graphene.ID(required=True, description="ID of an warehouse"),)stocks = FilterInputConnectionField(- Stock,- description="List of stocks.",- filter=StockFilterInput(),- query=graphene.String(),+ Stock, description="List of stocks.", filter=StockFilterInput(),)@permission_required(StockPermissions.MANAGE_STOCKS)