Juho Teperi

Results 120 issues of Juho Teperi

Similar to ring module, frontend should provide options to handle trailing slashes in routes: https://github.com/metosin/reitit/blob/master/modules/reitit-ring/src/reitit/ring.cljc#L111-L139 Ring module only does HTTP redirect, but for frontend it would probably make sense to...

frontend

Does adding option to router make sense? Are there other ways to control this logic?

Swagger feature docstring (and spec?) places tags on route-data root: https://github.com/metosin/reitit/blob/master/modules/reitit-swagger/src/reitit/swagger.cljc#L55 Examples place tags key under swagger: https://github.com/metosin/reitit/blob/master/examples/ring-swagger/src/example/server.clj#L30 Both seem to generate proper swagger.json, but first one fails spec validation....

help wanted
Documentation
good first issue

`create-resource-handler` uses `ext-mime-type` to add `Content-Type` headers to responses, but doesn't allow overriding `mime-types` map, to customize mime-types. E.g. it can be useful to replace `html` -> `text/html` with `text/html;...

enhancement

Drafting a notice for "partial" deprecation of Cljsjs: I'm thinking Cljsjs is starting to get mostly unnecessary now, with better options for consuming JS modules available. ## TLDR The most...

Clousure-compiler repository contains some maintained extern files: https://github.com/google/closure-compiler/tree/master/contrib/externs Currently google-maps-v3 and facebook externs are packaged and the extern is included in our repo. I'm not sure if it would be...

Clojure.test built-in `assert-expr` will set the `:actual` value as list of the predicate (`=`) and the values: https://github.com/clojure/clojure/blob/master/src/clj/clojure/test.clj#L450 Ultra just sets the value as list of the values: https://github.com/venantius/ultra/blob/master/src/ultra/test.clj#L22 without...

Looks like Leiningen writes the enabled repositories into the pom.xml: ``` central https://repo1.maven.org/maven2/ false true clojars https://clojars.org/repo/ true true ``` Seems like some Leiningen plugins might use this information somehow:...

Enhancement
Starter