Yusuke Wada
8627010094
refactor(types): refactor and add tests for checking Types ( #615 )
...
* refactor(types): refactor and add tests for checking Types
* remove unused
* uncomment
* use `Handler` in validator middleware
* remove unused
* create `src/validator` dir and move some files into it
* add the case that the context is in `validator`
* rename `D` to `S`
2022-10-23 08:10:00 +09:00
Yusuke Wada
39f896a576
fix(compose): don't throw Error; set error response into c.res
( #576 )
2022-10-02 15:44:54 +09:00
Yusuke Wada
7bb9cc1a19
fix: don't use defaultNotFoundMessage
variable ( #549 )
2022-09-21 23:05:26 +09:00
Yusuke Wada
5133a93925
feat: support appending values with c.header
( #539 )
2022-09-20 21:41:45 +09:00
Yusuke Wada
730453aeb0
fix(redirect): don't have to make relative url to absolute one ( #541 )
...
* fix(redirect): don't have to make relative url to absolute one
* remove `isAbsoluteURL`
2022-09-20 18:56:31 +09:00
Yusuke Wada
a2cc1a01c2
feat: another idea of Validator Middleware ( #535 )
...
* feat: Another idea of validator middleware
* denoify
* set property value in constructor
* rename `option` to `options`
* add test for handling type error
* use `test` instead of `match`
2022-09-20 10:11:34 +09:00
Yusuke Wada
058e3113b3
fix(types): correct types for app.notFound
/ app.onError
( #512 )
...
Fix #511
2022-09-10 18:00:00 +09:00
Yusuke Wada
24a28942de
fix: fixed the issue logger called twice ( #494 )
...
* fix: fixed the issue logger called twice
* add handling the error and shorten code
2022-09-02 21:13:47 +09:00
Yusuke Wada
c091517947
fix(context): fix type error ( #489 )
2022-08-28 18:16:51 +09:00
Yusuke Wada
1c3c9f1200
fix(type): fix type errors for Bindings and Variables ( #488 )
2022-08-27 23:57:33 +09:00
Yusuke Wada
ddfe07ecec
feat(types): enable adding Types for variables used in c.set
/c.get
( #478 )
...
* feat(types): enable adding Types for variables used in `c.set`/`c.get`
* fix typo
2022-08-23 20:53:25 +09:00
Yusuke Wada
9edf43c63b
fix(context): fixed ContextVariableMap
is not enabled in built code ( #465 )
2022-08-12 11:22:30 +09:00
Yusuke Wada
e07147a8ec
fix(context): fix header values shifting ( #463 )
2022-08-10 21:34:33 +09:00
Yusuke Wada
3c371d0d07
chore: denoify
2022-07-31 22:19:28 +09:00
Yusuke Wada
b4a660c605
chore(deno): denoify
2022-07-18 11:56:07 +09:00
Yusuke Wada
1ee08cc5ce
chore(deno): denoify
2022-07-17 18:11:09 +09:00
Yusuke Wada
9a41cde632
chore: denoify
2022-07-15 08:40:15 +09:00
Yusuke Wada
0d48c9f338
feat: [WIP] new structure for support Deno and third-party middleware
...
[skip ci]
2022-07-15 08:40:15 +09:00
Yusuke Wada
3f5c725435
chore: denoify
2022-07-10 18:52:04 +09:00
Yusuke Wada
d9e9e62e47
feat: support Deno! ( #336 )
2022-07-02 15:09:45 +09:00