Skip to content

Commit

Permalink
Feat/tax dml (#10525)
Browse files Browse the repository at this point in the history
Fixes: FRMW-2842

There are zero breaking changes and the users will have to run the migrations
  • Loading branch information
thetutlage authored Dec 12, 2024
1 parent bf6d14c commit e021c92
Show file tree
Hide file tree
Showing 9 changed files with 334 additions and 491 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-radios-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/tax": patch
---

Feat/tax dml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ITaxModuleService } from "@medusajs/framework/types"
import { Module, Modules } from "@medusajs/framework/utils"
import { Module, Modules, toMikroORMEntity } from "@medusajs/framework/utils"
import { TaxModuleService } from "@services"
import { moduleIntegrationTestRunner } from "@medusajs/test-utils"
import { setupTaxStructure } from "../utils/setup-tax-structure"
Expand All @@ -11,7 +11,7 @@ moduleIntegrationTestRunner<ITaxModuleService>({
testSuite: ({ service }) => {
describe("TaxModuleService", function () {
it(`should export the appropriate linkable configuration`, () => {
const linkable = Module(Modules.TAX, {
const linkable = Module(toMikroORMEntity(Modules.TAX), {
service: TaxModuleService,
}).linkable

Expand Down
Loading

0 comments on commit e021c92

Please sign in to comment.