Skip to content

Need working example with Inversifyexpress  #352

@developerInnBlockchain

Description

@developerInnBlockchain

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions