-
I just found out that itty-router-openapi was renamed/changed to chanfana, and I really like the concept š
Class-based endpoints and then either using Hono or itty-router.
I wanted to try and creā¦
-
```ts
const
run = (...fns) => async (...args) => {
for (const fn of fns.flat(1 / 0)) {
const result = fn && await fn(...args);
if (result !== undefined) returnā¦
-
I'm unable to get type inference working on the `withParams` helper:
```ts
import { Router } from 'itty-router';
import { withParams } from 'itty-router-extras';
export default {
fetch
};
ā¦
-
## Background
After Nammatham v2 entered the Alpha stage and underwent real-world usage testing, it performed well as an Azure Function library, more developer-friendly than Azure's official one.
ā¦
-
Not really sure if it's a bug with `itty-router` or `itty-router-openapi` but it affects `itty-router-openapi` users.
Given an endpoint like this (using `.original` for simplicity):
```ts
routeā¦
-
The only change needed is here, loop (`for await of`) over `match.handler` which is always directly whatever is passed as second parameter to all methods, like `router.get('/foo', [foo, bar, qux, corsā¦
-
I'm using itty durable and manually creating a `proxyDurable` the following way:
```ts
export const initAccountNodeByName = async (
name: string,
durableObject: DurableObjectNamespace
) => ā¦
-
### Which Cloudflare product(s) does this pertain to?
Wrangler core
### What version(s) of the tool(s) are you using?
wrangler 3.25.0
### What version of Node are you using?
18.18.2
### What opeā¦
-
Error:
A ReadableStream branch was created but never consumed. Such branches can be created, for instance, by calling the tee() method on a ReadableStream, or by calling the clone() method on a Reqā¦
-
Reading the Swagger [Bearer Authentication](https://swagger.io/docs/specification/authentication/bearer-authentication/) documentation, it is possible to add security globally, or on a specific route ā¦