New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request Object doesn't contains all properties #122
Comments
Hey! 👋 Which version of Miniflare are you using? Miniflare 2 ( |
I am using version 1.4.1
And the method and url properties don't exist. I am also thinking about how people use miniflare with Durable Objects if an official example doesn't work |
That code you've provided will work. The problem is that |
But I have this error
|
Could you share the code at and above |
Yup
|
Hmmm ok, it looks like |
BTW I using lib itty-router for routing const rsp = await DO.fetch(
new Request('', {
method: 'GET',
})
); |
How stable is miniflare 2? Or when is plan to release the version 2? |
Miniflare 2 is very stable. Hoping to release it before the new year, there's just an internal blocker I need to sort out. 👍 |
I just test with miniflare@next and still the same behaviour |
When I am using MiniflareI see the Request Object doesn't contain the same properties that are described in the Cloudflare documentation
That is annoying because that means code that works in live and with wrangler is not working with Miniflare
With Miniflare
With wrangler dev
The text was updated successfully, but these errors were encountered: