Hi,
there seems to some entities when I split my definition of entities into multiple file. As the schema.cds was getting too big, I decided to split my definitions into multiple files. E.g. I have two files (base.cds and schema.cds) in /db and each file has its own namespace. I noticed that when I do stuff like
const { MyEntity } = db.entities
I can only get entities that are defined in the first file. In this case, it's only entities from base.cds. As a test I also added additional file a.cds with one test entity. In that case, only test entity was available.
Is this a bug? Or how can I achieve that I have definitions split across multiple files but they all get loaded into variable db.entities.