Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove "minimal_price_(gte|lte)" from products' inputs
Mateusz Dereniowski3b19affaa616
diff --git a/saleor/graphql/product/schema.py b/saleor/graphql/product/schema.pyindex 75ee6155e9..90efdab9ec 100644--- a/saleor/graphql/product/schema.py+++ b/saleor/graphql/product/schema.py@@ -196,22 +196,12 @@ class ProductQueries(graphene.ObjectType):graphene.ID, description="Filter products by collections."),price_lte=graphene.Float(- description="Filter by price less than or equal to the given value."+ description="""DEPRECATED: Use the "filter" input.+ Filter by price less than or equal to the given value."""),price_gte=graphene.Float(- description="Filter by price greater than or equal to the given value."- ),- minimal_price_lte=graphene.Float(- description=(- "Filter by minimal price of variants (including discounts) "- "that is less than or equal to the given value."- )- ),- minimal_price_gte=graphene.Float(- description=(- "Filter by miniaml price of variants (including discounts) "- "that is greater than or equal to the given value."- )+ description="""DEPRECATED: Use the "filter" input.+ Filter by price greater than or equal to the given value."""),sort_by=graphene.Argument(ProductOrder, description="Sort products."),stock_availability=graphene.Argument(diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex fba88cc43a..212d9e879d 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -2934,7 +2934,7 @@ type Query {collection(id: ID!): Collectioncollections(filter: CollectionFilterInput, query: String, before: String, after: String, first: Int, last: Int): CollectionCountableConnectionproduct(id: ID!): Product- products(filter: ProductFilterInput, attributes: [AttributeScalar], categories: [ID], collections: [ID], priceLte: Float, priceGte: Float, minimalPriceLte: Float, minimalPriceGte: Float, sortBy: ProductOrder, stockAvailability: StockAvailability, query: String, before: String, after: String, first: Int, last: Int): ProductCountableConnection+ products(filter: ProductFilterInput, attributes: [AttributeScalar], categories: [ID], collections: [ID], priceLte: Float, priceGte: Float, sortBy: ProductOrder, stockAvailability: StockAvailability, query: String, before: String, after: String, first: Int, last: Int): ProductCountableConnectionproductType(id: ID!): ProductTypeproductTypes(filter: ProductTypeFilterInput, query: String, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnectionproductVariant(id: ID!): ProductVariant