Kelley van Evert
Kelley van Evert
Yes, @Nesci28 is correct that that `defineProperty` change per `1.2.206` causes the bug (whether indirectly or not). I made a small repo with a reproduction of the bug, as it...
Before, swc would define the export name as undefined at the top of the file, and then redefine at the bottom, like so: ```ts exports.Reservation = void 0; ... class...
@magic-akari It turns out that indeed, the `Relation` trick, as described in https://github.com/swc-project/swc/issues/5047#issuecomment-1188874962, indeed also works for MikroORM. (And in fact, in most situations our codebase already uses MikroORM's `IdentifiedReference`,...