mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
re: make search work with Saleor API (WIP)
This commit is contained in:
@@ -31,9 +31,10 @@ export const productConnection = /* GraphQL */ `
|
||||
const getAllProductsQuery = /* GraphQL */ `
|
||||
query getAllProducts(
|
||||
$first: Int = 100
|
||||
$filter: ProductFilterInput
|
||||
$channel: String = "default-channel"
|
||||
) {
|
||||
products(first: $first, channel: $channel) {
|
||||
products(first: $first, channel: $channel, filter: $filter) {
|
||||
...productConnnection
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user