You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query getProductListing(
$input: FilterProductListingInput
$first: Int = 10
$page: Int = 1
) {
getProductListing(input: $input, first: $first, page: $page) {
paginatorInfo {
count
currentPage
lastPage
total
}
data {
...productInfo
}
}
}
Nextjs app is trying to fetch the above query but, fails because the FilterProductListingInput type doesn't have the same type name on the backend side. Below is the query declaration on the backend side
.env.local variables
Graphql query
Nextjs app is trying to fetch the above query but, fails because the
FilterProductListingInput
type doesn't have the same type name on the backend side. Below is the query declaration on the backend sideas you can see the backend query expects the input variable to be of type
FilterProductsInput
but the frontend is usingFilterProductListingInput
Using Bagisto version: v2.0.0
nextjs-commerce version: latest
The text was updated successfully, but these errors were encountered: