Skip to content

Vendure Validate Cart Plugin changelog

← Plugin documentation · View on npm

  • Fixed error The property totalQuantity on the Order entity requires the Order.lines relation to be joined when querying calculated Order fields (e.g. totalQuantity, total, totalWithTax, subTotal) on the validateActiveOrder result. The lines relation is now always joined when refetching the order.
  • validateActiveOrder now returns a ValidateActiveOrderResult object with both errors and order fields.
  • The active order is refetched after validation, so any modifications made by a custom validation strategy are reflected in the returned order.
  • Uses Vendure’s built-in @Relations decorator to load the requested order relations in the response.
  • Breaking change: The validateActiveOrder mutation return type changed from [ActiveOrderValidationError!]! to ValidateActiveOrderResult!.
  • Upgraded to Vendure 3.6.3
  • Upgraded to Vendure 3.5.3
  • Documentation update
  • Updated official documentation URL
  • Fixed type declaration in package.json
  • Initial release