summaryrefslogtreecommitdiff
path: root/ROUTER_CHANGES.md
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-07-18 18:54:42 +0700
committerpolwex <polwex@sortug.com>2025-07-18 18:54:42 +0700
commite1bc08ed2b35a9b9faf76fab8316aec4224782cb (patch)
tree11444dcdf0078e7d04f8851c181bf375ed382096 /ROUTER_CHANGES.md
parentd43776f556ba63d2e6f48fdf6f94ba3b8f1e0199 (diff)
mmm
Diffstat (limited to 'ROUTER_CHANGES.md')
-rw-r--r--ROUTER_CHANGES.md12
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")))