Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: loading datasource unable to process a regular default export (#…
…10184) The solution to `loadDataSource` was probably designed to adapt to various forms of exports coming from ormconfig.js however it failed to adapt to a very regular case where you just do `module.exports = new DataSource({ ... })` resulting in `Error: Given data source file must contain export of a DataSource instance` Fixes #8810
- Loading branch information