drashland / drash

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
https://drash.land/drash
GNU General Public License v3.0
1.08k stars 32 forks source link

chore(service/tengine): verify Deno Deploy compatibility #674

Open PaoloAngeliBreda opened 2 years ago

PaoloAngeliBreda commented 2 years ago

Errors using Tengine with Deno Deploy

Tengine - Jae uses readFileSync. Since in Deno Deploy this is not available but requires the readFile async api it could be useful having async hooks in Drash lifecycle to manage async page render.

crookse commented 2 years ago

hey @PaoloAngeliBreda , we actually have some work in the pipeline to make sure tengine works. there were (or still are) a few issues with tengine not being usable in Deploy (e.g., new Function()) and we're gonna be doing end-to-end testing to make sure it works as expected. will update you when that happens. for now though, we've been on a bit of a break 🌴