Alosaur - Deno web framework with many ES Decorators
Full Changelog: https://github.com/alosaur/alosaur/compare/v1.1.0...v1.1.1
Full Changelog: https://github.com/alosaur/alosaur/compare/v1.0.0...v1.1.0
@Controller("/home")
export class HomeController {
@Get("/query-name")
+ @ActionParam(0, QueryParam("name"))
+ text(name: string) {
- text(@QueryParam("name") name: string) {
return Content(`Hey! ${name}`);
}
}
-@Controller("/home")
+@Controller({ baseRoute: "/home", ctor: { inject: ["FooService"] } })
export class HomeController {
name: string | undefined = undefined;
- constructor(@Inject("FooService") private service: FooService) {}
+ constructor(private service: FooService) {}
}
Full Changelog: https://github.com/alosaur/alosaur/compare/v0.38.0...v1.0.0
Full Changelog: https://github.com/alosaur/alosaur/compare/v0.37.0...v0.38.0
Up deps versions
thanks: @Ingrim4
Up deno deps