joseferben
joseferben
## Goal Running `make sihl`/`sihl` should list all commands with the most common commands on top in a separate section. A short description is provided for each command. The help...
## Goal When pressing `Ctrl-C` when the Sihl app is running, graceful stop should happen. ## Todo 0. store ref to current app and start ctx 1. loop forever (in...
At the moment we check for `[ ".git"; ".hg"; ".svn"; ".bzr"; "_darcs" ]`. Should we also add `.ocamlformat` and `.env`?
Currently a query looks like ```ocaml let get ~id = Database.query (fun connection -> let module Connection = (val connection : Caqti_lwt.CONNECTION) in Connection.find_opt get_request id |> Lwt.map Database.raise_error) ;;...
In a `dune` file next to `dune-project`: ``` (env (dev (flags (:standard -open StdLabels -w +A-48-42-44)))) ```
## Todo - Support multiple worker processes - Make sure tests don't slow down main test suite - Think about polling vs. reactive queues - Consider API of Active Jobs
At the moment, it is possible to define routers which then are given to the HTTP server. The router definition looks like ```ocaml let site_router = Sihl.Web.Http.router ~middlewares:(Middleware.site ()) ~scope:"/"...
The admin UI should work the same for JWTs and for persisted tokens (different service implementations). Maybe we want to indicate the fact that JWTs themselves contain the information, this...