Tag: mikro-orm
-
Validation Error: Using global entity manager instance methods for context specific actions is disallowed
20 Using MikroORM and getting this error: ValidationError: Using global EntityManager instance methods for context specific actions is disallowed. If you need to work with the global instance’s identity map, use `allowGlobalContext` configuration option or `fork()` instead The code that it corresponds to is below: import { MikroORM } from "@mikro-orm/core"; import { __prod__ }…