Service Providers - Now, Unlike NestJS we can now define service providers instead of defining everything in the decorators. They have two methods register and boot.
Service Provider Containers - Container for multiple service providers
IntentMiddleware - An abstract class which passes Intent's self Request, Response object instead of the complete execution context.
IntentGuard - An abstract class for defining guards
Kernel - Instead of decorators, we can now define Global Middlewares, Global Guards, and Route Specific Guards
Intent will now be self exporting some essential decorators from NestJS
A new @Body decorator which utilises the req.all() method
Bug fixing in Request class
Fixed and refactored import orders.
This PR is still in progress. Once done, I will be updating the documentation.
In this PR, I am adding following stuff:
register
andboot
.Request
,Response
object instead of the complete execution context.@Body
decorator which utilises thereq.all()
methodRequest
classThis PR is still in progress. Once done, I will be updating the documentation.