inversify-express-utils icon indicating copy to clipboard operation
inversify-express-utils copied to clipboard

Some utilities for the development of Express application with InversifyJS

Results 26 inversify-express-utils issues
Sort by recently updated
recently updated
newest added

i'm trying initialize AuthProvider as described on readme. but i can not inject dependency in my CustomAuthProvider If inject without constructor as described on readme, All injected dependencies are undefined....

When using the `BaseHttpController` helper method `BaseHttpController.json(...)` the resulting express call coerces the json object to a string. This causes problems when using express middleware that validates JSON responses (in...

I am using - inversify 5.0.1 - inversify-binding-decorators 4.0.0 - inversify-express-utils 6.3.2 The code I am working on can be seen at this [Link](https://github.com/josezone/node_boilerplate) **The Problem** I need to pass...

IsAuthenticated decorator has been created that is applied to route actions. ## Description There is functionality that provides authorization functionality. There are examples in imperative way these show how to...

The pull request adds a `@withMiddleware()` decorator for registering middleware on controllers and handlers. ## Description The `@withMiddleware()` piggybacks off of the existing way of registering controller- and handler middleware....

Hi. I decided to try an example. But on the request I get 204 code and an error in the logs. How I understand it before my error handler, some...

Using the `inversify-express-utils` you can create an express application and configure: - an auth(orization) provider - server level middleware When building the server application the http context is created before...

*For `inversify-express-utils` package.* To get the express `req`, `res`, `next` functions, we need to inject them into the action method with `@request`, `@response`, `@next`. It would be much neater to...

We have a complex application with a huge dependency graph. On startup, when all controllers are initialized at once using inversify-express-utils (container.getAll for controllers) we noticed that the startup takes...

Hey guys, wasn't sure how else to get in contact. I've put together a package for defining controllers and handlers using inversify for a socket.io server (https://socket.io/) based heavily on...