query getProduct($slug: String, $currency: String, $locale: String) {
productBySlug(slug: $slug, _currency: $currency, _locale: $locale) {
slug
id
name
options {
id
attributeId
name
values {
id
name
price
}
}
stockLevel
}
}
The field attributeId is always null right now.
There are no ways to detect what is particular attribute id is.
I have custom components depending on attribute id.
For example I have a custom "ProductColorOption" - not Select as a default component for all of the options right now.
I could detect what is exactly option attribute before by field attributeId. Now it's always nullable.
Notice: it was okay before. It started to happen probably 1.5-2 weeks ago.
Hi,
I have a query
The field
attributeId
is always null right now. There are no ways to detect what is particular attribute id is.I have custom components depending on attribute id. For example I have a custom "ProductColorOption" - not Select as a default component for all of the options right now.
I could detect what is exactly option attribute before by field
attributeId
. Now it's always nullable.Notice: it was okay before. It started to happen probably 1.5-2 weeks ago.