-
As I understand it, I am using an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could just pass in a fork yourself and never flush it: const factory = new AuthorFactory(em.fork());
// now the entities will get persisted to that fork, which will never get flushed (unless you use `make` methods).
That has no limitations on runtime, its just "typescript private", not "native private", you can always just do |
Beta Was this translation helpful? Give feedback.
You could just pass in a fork yourself and never flush it:
That has no limitations on runtime, its just "typescript private", not "native private", you can always just do
(em as any)
.