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

## Expected Behavior Middlewares should be created by http request scoped container. Since by default they are not singleton it does make sense to create them using per-request container, which...

This is a feature request for [inversify-express-utils](https://github.com/inversify/inversify-express-utils#basehttpcontroller). Controllers that extend `BaseHttpController` have access to a `this.conflict` method, but this method does not take any arguments. Using `this.json` is an easy...

There is a nice utils library called `inversify-socket-utils` which nicely wraps a lot of socketio logic and gives the ability to use decorators in controllers to handle event emits in...

I'm trying to write a unit test for a controller that has an injected service at the constructor, that's why (unlike the docs where controllers are instantiated with the `new`...

Hey folks, I'm trying to implement here the[ inversify-binding-decorators](https://github.com/inversify/inversify-binding-decorators) together with the inversify-express-utils lib. Unfortunately, I wasn't didn't manage to make my @controller bindings to work properly. They do not...

After updating to the latest version of inversify and inversify-express-utils, I can't have controller inheritance working with more than 1 base controller, like BaseController -> BaseApiController -> PostController, URLs from...

I couldn't find a way to handle all errors in a controller in one handler. For example: ``` @controller('/user') export default class UserController implements interfaces.Controller { @httpGet('/') private async get(@request()...

Added functionality of piping streamed responses without having to return callback with pipe in it ## Description Created new content type of StreamContent and added proper handle for it in...

## Description Add ability to use constructor injection for http-request scoped dependencies in middlewares. ## Related Issue https://github.com/inversify/InversifyJS/issues/1220 ## Types of changes - [ ] Bug fix (non-breaking change which...

## Description This PR allows the middleware to be resolved when `autoBindInjectables` is `true`, by checking the container options and getting the middleware instead of checking if it is bound....