#set private properties on a class you don't control
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
because of the JS this actually compiles, and a framework (mikro orm) that doesn't call the constructor to I'm trying to figure out how to set this property manually externally https://github.com/nestjs/cqrs/blob/master/src/aggregate-root.ts#L11
I'd use patch-package and then change that source code
since INTERNAL_EVENTS was not exposed
that's interesting
I used yarn's patch, but that seems to be working