You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2022. It is now read-only.
Glob patterns are used in the TypeOrm to specify the locations of entities, migrations, subscriber and other information. Errors in the patterns can lead to the common `RepositoryNotFoundError` and familiar errors. In order to check if any files were loaded by TypeOrm using the glob patterns, all you need to do is set the logging level to `info` such as explained in the [Logging](./logging.md) section of the documentation. This will allow you to have logs in the console that may look like this:
8
+
9
+
```bash
10
+
# in case of an error
11
+
INFO: No classes were found using the provided glob pattern: "dist/**/*.entity{.ts}"
12
+
```
13
+
```bash
14
+
# when files are found
15
+
INFO: All classes found using provided glob pattern "dist/**/*.entity{.js,.ts}":"dist/app/user/user.entity.js | dist/app/common/common.entity.js"
0 commit comments