镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Description

@sunilsharma0

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.

Activity

  1. stale commented on Jul 21, 2021

    @stale

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions