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
Second issue here needs to be solved in reaction-api. getProductMedia in the Products resolver needs an adapted db query where variantId should be null or not exist.
For the ProductVariant resolver there currently is no media resolver, threfore a getVariantMedia function needs to be crated which does the same thing as getProductMedia but queries by variantId
This should return the value, not an object with key priority.
Also, Ids would need to be encoded for media actions like priority change, remove, etc an currently are not.
Might be better solution to update the api instead to only send encoded Ids instead.
Issues
Issues that arise from the new product editor from this PR: #188
Reloading data after uploading an image doesn't work due to the delay from upload to converting and saving with sharp. Add full GQL support to product editor #188 (comment)
The display of the media might be inaccurate. The product may be showing images from the variants as well.
Priority field doesn't work
The text was updated successfully, but these errors were encountered: