Allan Ebdrup
Allan Ebdrup
Here is my pricing strategy ```ts import { AbstractPriceSelectionStrategy, Customer, CustomerGroup, MoneyAmount, PriceSelectionContext, PriceSelectionResult, PriceType, } from '@medusajs/medusa'; import MoneyAmountRepository from '@medusajs/medusa/dist/repositories/money-amount'; import { TaxServiceRate } from '@medusajs/medusa/dist/types/tax-service'; import {...
The console log of the pricing strategy is: ``` CONSTRUCTOR PriceSelectionStrategy { cart_id: 'cart_01HV68CY8ZN96DSTEXR0S65KCS', region_id: 'reg_01HMBFAX5CV30TN32NEPNF7V2Q', currency_code: 'dkk', customer_id: undefined, include_discount_prices: true, tax_rates: [ { rate: 25, name: 'default', code:...
If you are looking for alternative to JSV (that seems to be not updated) take a look here for a list of validators, their performance, and standards compliance: https://github.com/Muscula/json-schema-benchmark
I've compiled a list of the official draft-4 tests that are failing for JSV here https://github.com/Muscula/json-schema-benchmark/blob/master/reports/JSV.md If you want draft-4 support perhaps take a look here for an alternative: https://github.com/Muscula/json-schema-benchmark
I've compiled a list of the official draft-4 tests that are failing for JSV here https://github.com/Muscula/json-schema-benchmark/blob/master/reports/JSV.md If you want draft-4 support perhaps take a look here for an alternative: https://github.com/Muscula/json-schema-benchmark