Package version
7.3.2
Describe the bug
Customizing httpControllers path in the adonisrc.ts file like this:
export default defineConfig({
directories: {
httpControllers: 'src/infrastructure/api/http/controllers',
},
...
})
prevent barrel for being correctly generated unless I also edit the directory path in the indexEntities init hook:
export default defineConfig({
...
hooks: {
init: [
indexEntities({
controllers: { source: 'src/infrastructure/api/http/controllers' },
}),
],
},
...
})
Would be really cool if indexEntities was using custom directories directly.
Reproduction repo
No response
Package version
7.3.2
Describe the bug
Customizing
httpControllerspath in theadonisrc.tsfile like this:prevent barrel for being correctly generated unless I also edit the directory path in the indexEntities init hook:
Would be really cool if
indexEntitieswas using customdirectoriesdirectly.Reproduction repo
No response