Comments (5)
Thanks. I'll check them later.
from middleware.
It seems related to this: https://github.com/honojs/hono/blob/bd00d284693e2079bb3be7ee762bcde53b194c73/src/client/types.ts#L29C1-L33C10
Short example:
type A = BlankRecordToNever<{ id: string; optional?: string }>;
A gets typed as never
from middleware.
Submitted an issue here as it seems to stem from core library: honojs/hono#1766
from middleware.
Fixed with honojs/hono#1769
Thanks @yusukebe!
from middleware.
You are welcome!
from middleware.
Related Issues (20)
- [zod-openapi] RPC Mode Fails Without Request Parameters HOT 2
- [zod-openapi] Unable to use async handler HOT 1
- [zod-openapi] RPC mode fails if handler is not in the router file HOT 4
- [zod-openapi]- running middleware after validation HOT 3
- [zod-openapi] MaybePromise response type issue HOT 4
- [zod-openapi] wrong path in hono/client ? HOT 2
- hono/cors does not work in the route definition. HOT 1
- [zod-openapi] Make range definitions available
- [auth-js] How to trigger actual sign-in HOT 1
- behind a reverse proxy, X-Forwarded-Proto isn't used and plain http is used for the signin action HOT 8
- Grouped Route Path Parameters Not Recognized in @hono/zod-openapi HOT 1
- hono-openapi expects `method` parameter to be of a specific type HOT 5
- Typia Openapi generator : feature request
- Middleware breaks OpenAPI YAML
- Zod partial() function not available in the zod-openapi ? HOT 2
- Error with Hono, Swagger UI, and Zod OpenAPI Integration: Missing Parameter Data for Query Parameter with Refine and Transform HOT 2
- [BUG]: Zod OpenAPI RPC Mode not working with nullable query params HOT 2
- Testing with testClient from hono/test fails with 400 Bad Request on routes defined with @hono/zod-openapi
- OpenAPIHono can't use route to Hono
- @hono/zod-openapi: Error 404 when calling API route from unit test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from middleware.