()
| 154 | } |
| 155 | |
| 156 | static cannotUseGlobalContext(): ValidationError { |
| 157 | return new ValidationError( |
| 158 | "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.", |
| 159 | ); |
| 160 | } |
| 161 | |
| 162 | static cannotUseOperatorsInsideEmbeddables( |
| 163 | entityName: EntityName, |