Open seveibar opened 8 months ago
Edgespec doesn't work with Bun.serve because of this bug. Took a while to debug, so I wanted to share the learning. https://github.com/oven-sh/bun/pull/8668
Bun.serve
You can easily get a proper request shim with:
import { Request as EdgeRuntimeRequest } from "@edge-runtime/primitives"
huh, interesting
happy to accept a PR for a bun adapter if you think it's applicable
Edgespec doesn't work with
Bun.serve
because of this bug. Took a while to debug, so I wanted to share the learning. https://github.com/oven-sh/bun/pull/8668You can easily get a proper request shim with: