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
Describe the bug
When a "relation" custom field is defined on ProductVariant, updating with the updateProductVariants mutation will return the old values of direct properties (e.g. stockOnHand, sku). Fields which rely on a related entity (name, price) are correctly updated.
To Reproduce
Steps to reproduce the behavior:
Define a relation custom field on ProductVariant
In the AdminUI, edit a variant, e.g. increase the stock.
Save, and then refresh the page
See that the stock has reverted to the original value.
Expected behavior
Updates should work
Environment (please complete the following information):
@vendure/core version: v1.1.1+
Nodejs version: any
Database (mysql/postgres etc): any
Additional context
I think it is related to this commit from v1.1.1: 510025a
The text was updated successfully, but these errors were encountered:
Describe the bug
When a "relation" custom field is defined on ProductVariant, updating with the
updateProductVariants
mutation will return the old values of direct properties (e.g. stockOnHand, sku). Fields which rely on a related entity (name, price) are correctly updated.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Updates should work
Environment (please complete the following information):
Additional context
I think it is related to this commit from v1.1.1: 510025a
The text was updated successfully, but these errors were encountered: