oberbeck
oberbeck
Thank you, I opened an issue https://code.videolan.org/videolan/VLCKit/-/issues/457
@hongfeiyang who's your internet provider? https://code.videolan.org/videolan/VLCKit/-/issues/457#note_75202
IMO this is not a bug, but a nice new feature request. However, I think it should be optional/configurable as it could mess with existing accounts.
With `@hono/[email protected]` the environment is now inferred if the middleware is provided as a tuple through the router definition; ie. via adding [`as const`](https://github.com/oberbeck/honojs-middleware/blob/3ffb66707201f657f9aa37e726ea2ecc2f034acf/packages/zod-openapi/test/index.test-d.ts#L286) after the middleware value. **Example:** https://github.com/oberbeck/honojs-middleware/blob/3ffb66707201f657f9aa37e726ea2ecc2f034acf/packages/zod-openapi/test/index.test-d.ts#L268-L304
The initial issue is now solved with `@hono/[email protected]`, right? https://github.com/honojs/middleware/issues/715#issuecomment-2461800286 Here my suggested edit to the docs to make this more clear: https://github.com/honojs/middleware/pull/812/files