Add a FIXME

This commit is contained in:
Michael Wolf
2025-03-07 21:46:33 -06:00
parent 553cd680dc
commit 235d2b50dd

View File

@@ -3,6 +3,10 @@
// FIXME: split this up into types used by app developers and types internal // FIXME: split this up into types used by app developers and types internal
// to the framework. // to the framework.
// FIXME: the use of types like Request and Response cause problems because it's
// easy to forget to import them and then all sorts of random typechecking errors
// start showing up even if the code is sound. So find other names for them.
import { z } from "zod"; import { z } from "zod";
import { HttpCode, httpCodes } from "./http-codes.ts"; import { HttpCode, httpCodes } from "./http-codes.ts";
import { ContentType, contentTypes } from "./content-types.ts"; import { ContentType, contentTypes } from "./content-types.ts";