-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Is direct import of module is ok? #75
Comments
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: