Changelogs
0.0.4
- create
BaseExceptionHandlerto catch all exceptions if no custom handler - apply global exception handlers, one middleware per handler
- add
try catchfor action execution and pass error to next middleware to handle exception
Full Changelog: https://github.com/zgid123/abyss-ts/compare/express-runner@0.0.3...express-runner@0.0.4
0.0.3
- create context per request using async storage
- map controllers and injections using AbyssalApplication methods instead
- apply configurations and middlewares
Full Changelog: https://github.com/zgid123/abyss-ts/compare/express-runner@0.0.2...express-runner@0.0.3
0.0.2
- export more decorators from core package:
Put,Post,Patch,Delete,InjectandInjectable - resolve singleton injections and pass to controllers' constructor or other injection classes' constructor
Full Changelog: https://github.com/zgid123/abyss-ts/compare/express-runner@0.0.1...express-runner@0.0.2
0.0.1
- export decorators:
Controller,Get,Query,Body,RequestandParamfrom core package - create
ExpressApplicationas a builder for Express app - create util to load controllers using
globwith pattern**/*Controller.ts,**/*.controller.ts - create util to map parameters to action's exec
- run the server using
createHttpServerfrom packagehttp