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
Question.
There is direct import of module from Application layer const { get, post, put, remove } = require('src/app/user')
inside /interfaces folder src\interfaces\http\modules\user\instance.js
Is it ok? Feels like a bit dirty, when we have this whole DI thing.
The text was updated successfully, but these errors were encountered:
bfunc
changed the title
Is direct import of module is ok?
Question: Is direct import of module is ok?
Apr 24, 2021
bfunc
changed the title
Question: Is direct import of module is ok?
is:question Is direct import of module is ok?
Apr 24, 2021
bfunc
changed the title
is:question Is direct import of module is ok?
Question: Is direct import of module is ok?
Apr 24, 2021
Question.
There is direct import of module from Application layer
const { get, post, put, remove } = require('src/app/user')
inside /interfaces folder
src\interfaces\http\modules\user\instance.js
Is it ok? Feels like a bit dirty, when we have this whole DI thing.
The text was updated successfully, but these errors were encountered: