You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
This is a feature request for inversify-express-utils. I would like this.created and related methods to return an object that takes a generic.
Expected Behavior
I expect this.created to return an interface with a generic (e.g., IHttpResponse<T>).
Current Behavior
this.created returns OkNegotiatedContentResult, which does not take a generic.
Context
I have a controller that extend BaseHttpController and have written a post method. In this method I return the result of this.created(...). I was hoping the return type would include a generic (e.g., IHttpResponse<T>) so that I could use type checking to validate whatever argument I passed to this.created.
This is a feature request for inversify-express-utils. I would like
this.createdand related methods to return an object that takes a generic.Expected Behavior
I expect
this.createdto return an interface with a generic (e.g.,IHttpResponse<T>).Current Behavior
this.createdreturnsOkNegotiatedContentResult, which does not take a generic.Context
I have a controller that extend
BaseHttpControllerand have written apostmethod. In this method I return the result ofthis.created(...). I was hoping the return type would include a generic (e.g.,IHttpResponse<T>) so that I could use type checking to validate whatever argument I passed tothis.created.