betwixt-labs / tempo

🥁 Don't miss a beat. Real-time, end-to-end typesafe APIs.

Home Page:https://tempo.im

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] FetchHeadersAdapter should be iterable

andrewmd5 opened this issue · comments

commented

The typedefs for ServerContext.clientHeaders use the web standard definitions of Headers even though in NodeJS we use our FetchHeadersAdapter to stop runtime crashes. We should further mock the type so it supports all the traditional functions (forEach, etc)

commented

Fixed in #11