reitit
reitit copied to clipboard
A fast data-driven routing library for Clojure/Script
[Reference test](https://github.com/metosin/reitit/blob/69795f5fe7391eef9ff788fdd34a84f909bdc03c/test/cljc/reitit/ring_spec_test.cljc#L64) If I turn `:opt-un` into `:req-un` (as the docs use), the spec fails ("should contain key :roles"). It works fine however if `:roles` is placed in any parent...
Ring lowercases request headers, which means this doesn't work: ```clj ["/" {:get {:parameters {:header {:Authorization s/Str}} :handler (fn [request] {:status 200 :body (get-in request [:parameters :header :Authorization])})}}] ``` I guess...
with the current code, when using h5 history, there is no way to push state to a url like "/path#foo" because `reitit.frontend.history/push-state` doesn't take that into consideration. Is that correct?...
This issue will contain some of the things that should be changed, but would be breaking changes. We could collect them for 1.0.0, which could out soon: ## Clear component...
Steps to reproduce: Run the code provided in the gist below [1]. The two endpoints are identical save for the difference between the schemas for response bodies. `/success` declares that...
Hi, How should I translate typical camel case JSON keys into typical kebab case Clojure ones? I have not been able to find out in docs yet, not even by...
We want to confirm if they really want to leave their page with unapplied edits, using a `js/confirm`. We've found one solution here: https://github.com/metosin/reitit/blob/master/examples/frontend-prompt/src/frontend/core.cljs . However, this hack is not...
Currently, only one coercion error will be returned, even if there are errors in multiple places (e.g. in both body and path parameters). Furthermore, _which_ error is returned seems to...
A tool that reads swagger json/yaml and emits a reitit template. Some pointers: * existing runtime translator: https://github.com/zalando-stups/swagger1st * swagger codegen: https://swagger.io/tools/swagger-codegen * JSON Schema Coercion Support for Reitit: https://github.com/metosin/reitit/issues/273
`0.3.0` was locally compiled with Java11 causing #241. There was no guard for this. We should fail fast (at CircleCI) before deploying if the Java classes are compiled with >...