#how to connect Entities to orm database configuration

3 messages · Page 1 of 1 (latest)

terse grove
#

Hey guys, I'm trying to import entities with globing. i have my entities folder and database configuration file in the same folder

but i can't seem to make it find all the entities
any help please!!?

quiet badger
#

what about

[`${__dirname}/**/*.entity.{js,ts}`],
terse grove
#

this only gives access to app, does not get to library.

or the database config is not suppose to be in the library folder