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

Need working example with Inversifyexpress #352

Open
developerInnBlockchain opened this issue Dec 30, 2022 · 0 comments
Open

Need working example with Inversifyexpress #352

developerInnBlockchain opened this issue Dec 30, 2022 · 0 comments

Comments

@developerInnBlockchain
Copy link

developerInnBlockchain commented Dec 30, 2022

Hi,

  1. Socket Not working if we import controller from inversify but if we import the controller from inversify-socket-util it is works.

  2. unable to apply middleware in controller if we import controller from inversify-socket-util

  3. not works rest of the controller if we import controller from inversify-socket-util

(e.g)

it will not work
import { interfaces, controller, httpGet, request, response, httpPost } from "inversify-express-utils";
@controller('/following', SITE_MAINTENANCE)

it will work

import { interfaces, httpGet, request, response, httpPost } from "inversify-express-utils";
import {
    controller
  } from "inversify-socket-utils";
  
@controller('/following')
  • currently I have used inversify-express-util for my whole app. so that I try to implement inversify-socket-util package.

  • is there any working code for inversify-socket-util kindly share for the reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant