diff options
Diffstat (limited to 'ROUTER_CHANGES.md')
-rw-r--r-- | ROUTER_CHANGES.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ROUTER_CHANGES.md b/ROUTER_CHANGES.md index 5f7aab3..b82f687 100644 --- a/ROUTER_CHANGES.md +++ b/ROUTER_CHANGES.md @@ -16,4 +16,14 @@ - Patterns (`s`, `/`, `/?`, `int`, `str`, `wildcard`, `@-->`) make the routes very declarative, but the necessary type annotations can become verbose, especially when inferring the correct `route` versus `router` types. - Static file handling with `Body.sendfile` and `Body.to_string` is straightforward, though error paths currently propagate raw errors rather than returning HTTP error responses (which might be improved later). - The `dune` setup is standard, with a shared library and pages sub-library, plus `ppx_rapper_eio` for DB bindings. -- Overall, the code structure is clean and idiomatic, but the interaction of the routes DSL with OCaml’s type system can be a bit tricky when refining precise types.
\ No newline at end of file +- Overall, the code structure is clean and idiomatic, but the interaction of the routes DSL with OCaml’s type system can be a bit tricky when refining precise types. + +## Dune shenanigans +deleted this but might come in handy later + (rule + (target styles.css) + (deps + input.css + tailwind.sh) + (action + (bash "sh %{workspace_root}/tailwind.sh"))) |