FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.88k stars 137 forks source link

Add `ctx.controllerName` and `ctx.controllerMethodeName` #1199

Closed LoicPoullain closed 1 year ago

LoicPoullain commented 1 year ago

Issue

Resolves #1183

Solution and steps

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Base: 98.86% // Head: 98.86% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (f5f4f6c) compared to base (dc0875b). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3-2-0 #1199 +/- ## ======================================= Coverage 98.86% 98.86% ======================================= Files 96 96 Lines 1669 1671 +2 Branches 388 389 +1 ======================================= + Hits 1650 1652 +2 Misses 19 19 ``` | [Impacted Files](https://codecov.io/gh/FoalTS/foal/pull/1199?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FoalTS) | Coverage Δ | | |---|---|---| | [packages/core/src/core/http/context.ts](https://codecov.io/gh/FoalTS/foal/pull/1199/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FoalTS#diff-cGFja2FnZXMvY29yZS9zcmMvY29yZS9odHRwL2NvbnRleHQudHM=) | `100.00% <100.00%> (ø)` | | | [packages/core/src/express/create-app.ts](https://codecov.io/gh/FoalTS/foal/pull/1199/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FoalTS#diff-cGFja2FnZXMvY29yZS9zcmMvZXhwcmVzcy9jcmVhdGUtYXBwLnRz) | `98.14% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FoalTS). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FoalTS)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.