Changelogs
0.0.4
- create
BaseExceptionHandler
to catch all exceptions if no custom handler - apply global exception handlers, one middleware per handler
- add
try catch
for 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
,Inject
andInjectable
- 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
,Request
andParam
from core package - create
ExpressApplication
as a builder for Express app - create util to load controllers using
glob
with pattern**/*Controller.ts
,**/*.controller.ts
- create util to map parameters to action's exec
- run the server using
createHttpServer
from packagehttp