You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! 👋 The first pre-release of Miniflare 2 has just been released, including this change. You can find the full changelog here and install it with npm i miniflare@next -D. Please let me know if you have any other issues, and feel free to ask questions in the #miniflare channel of the Cloudflare Workers Discord server.
Hey I have been working with honojs and cloudflare recently and I have noticed that env vars like booleans (mapped in a bindings.d.ts ) are mapped to true objects like boolean when I run on the command line but no in miniflare.
Is this some kind of regression or am I doing something wrong?
The issue on the honojs site outlines the full scenario.
Hello there!
Cloudflare stringyfies all environment variables, but miniflare respects/maintains the var type.
This might cause confusion/bugs and detours from what's expected when using wrangler etc.
Using miniflare:
Using wrangler:
It's not a huge thing but I thought I'd mention it.
Thanks again for this project, it's been a life saver!
The text was updated successfully, but these errors were encountered: