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
Products resolver should not be fetching unpublished products by default. If that is the expected behavior, there should be a filter in ProductFilterInput to filter out the unpublished products
Actual Behavior
Getting unpublished products in the products resolver
Possible Solution
add a filter
Steps to reproduce
Running the below query
`
query Products($currentPage: Int, $pageSize: Int) {
products(currentPage: $currentPage, pageSize: $pageSize) {
totalCount
minPrice
maxPrice
products {
id
typeId
visibility
name
displayName
description
attributeValues {
attribute {
name
}
name
}
productVariants {
displayName
}
thumbnail
slug
price
currency {
id
name
symbol
}
categories {
id
name
}
}
}
}
`
What version of odoo integration are you using?
16
What version of Node.js are you using?
18.17.0
What browser (and version) are you using?
Chrome 118
What operating system (and version) are you using?
macOS
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Expected Behavior
Products resolver should not be fetching unpublished products by default. If that is the expected behavior, there should be a filter in ProductFilterInput to filter out the unpublished products
Actual Behavior
Getting unpublished products in the products resolver
Possible Solution
add a filter
Steps to reproduce
Running the below query
`
query Products($currentPage: Int, $pageSize: Int) {
products(currentPage: $currentPage, pageSize: $pageSize) {
totalCount
minPrice
maxPrice
products {
id
typeId
visibility
name
displayName
description
attributeValues {
attribute {
name
}
name
}
productVariants {
displayName
}
thumbnail
slug
price
currency {
id
name
symbol
}
categories {
id
name
}
}
}
}
`
What version of odoo integration are you using?
16
What version of Node.js are you using?
18.17.0
What browser (and version) are you using?
Chrome 118
What operating system (and version) are you using?
macOS
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: