middleware icon indicating copy to clipboard operation
middleware copied to clipboard

@hono/arktype-validator messing with cloudflare binding generated cause there is a undefined perimeter

Open firstaxel opened this issue 9 months ago • 1 comments

Which middleware has the bug?

@hono/arktype-validator

What version of the middleware?

latest

What version of Hono are you using?

latest

What runtime/platform is your app running on? (with version if possible)

Cloudflare Workers

What steps can reproduce the bug?

create a new hono project install the arktype validator from hono then create a schema after then try to access it you will get an error

Image

What is the expected behavior?

Cloudflare bindings should work flawlessly with the arktype validator

What do you see instead?

Error undefined not applicable to cloudflare binding

Additional information

No response

firstaxel avatar Apr 02 '25 10:04 firstaxel

@firstaxel

It's hard to reproduce your problem with just your information. Can you share a minimal project to reduce it?

yusukebe avatar Apr 03 '25 14:04 yusukebe