kosei28
|
37c3809c6c
|
fix(types): fix app.on method array type inference (#4578)
|
2025-12-14 17:49:03 +09:00 |
|
 kosei28andYusuke Wada
|
3e12de624a
|
fix(types): replace schema-based path tracking with CurrentPath parameter (#4552)
* fix(types): correct types when middleware return Promise<void>
* udpate tests
* pass tests
* support multiple middleware
* perf
* refactor(types): replace schema-based path tracking with CurrentPath parameter
* refactor(types): remove unused ChangePathOfSchema type
* fix(types): replace CurrentPath with VoidMiddlewarePath in Hono and Handler interfaces
* refactor(types): rename AddSchemaOrPath to AddSchemaIfHasResponse in HandlerInterface
* update tests
* update tests
* Revert "fix(types): replace CurrentPath with VoidMiddlewarePath in Hono and Handler interfaces"
This reverts commit ef72a74717.
* update tests
* fix(types): simplify AddSchemaIfHasResponse type definition
* fix comments
* fix(types): update MiddlewareHandlerInterface to use '*' for pathless middlewares
* fix(types): use last path as CurrentPath in OnHandlerInterface with multiple paths
* fix(types): remove CurrentPath from OnHandlerInterface
* fix(types): remove CurrentPath from MiddlewareHandlerInterface
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
Fixes #4517
|
2025-12-13 17:21:51 +09:00 |
|
kosei28
|
ee52b250fc
|
chore: update esbuild to version 0.27.1 (#4571)
|
2025-12-12 16:57:47 +09:00 |
|
 kosei28andYusuke Wada
|
8129a3a06e
|
feat(rpc): Add status code to response type (#2499)
* feat: add status code to response type
* fix MergeSchemaPath
* remove TypedResponseInit
* fix issues
* update tests
* add types tests
* add client tests
* denoify
* fix client test
* fix validator test
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
|
2024-04-30 20:03:32 +09:00 |
|