Skip to content
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

How can I inject a custom class between controller and repository. #4348

Open
sunilsharma0 opened this issue Apr 12, 2021 · 1 comment
Open

Comments

@sunilsharma0
Copy link

Hello Team,

Please help me to inject a class between my controller and repository.
I want create a library/myclass.ts and that i want to call from my controller request function. So that i can interact with my different database table through repository instances.

@fabien @albertoleal @sam-github @rmg @Schoonology
Guys please help to do it. As I am moving from Laravel to Loopback.

@stale
Copy link

stale bot commented Jul 21, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant